LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-30-2005, 10:49 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 450

Rep: Reputation: 31
mpd (Music Player) and GAIM sound together.


I'm currently running mpd so I can play music while I work... Problem is when it's running my GAIM client doesn't have any sound. (at least till I hit the stop button) Does anyone know how I can configure these two apps so they both can send sound?

Thanks,
Michael
 
Old 05-30-2005, 01:11 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you need to both make them use decent sound outputs. try either arts for kde, or esd for gnome. the best solution would actually be to configure alsa, which lies underneath esd and arts to directly accept multiple connections via the dmix plugin, but that's a little more complicated (but not much)
 
Old 05-30-2005, 01:23 PM   #3
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 450

Original Poster
Rep: Reputation: 31
Managed to solve my own problem looking at another post on linuxquestions.org.

The big problem I had is gaim runs as one user and mpd runs as another. I needed to modify the following file:

File: /etc/asound.conf
Code:
    pcm.!default {
        type plug
        slave.pcm "dmixer"
    }
    pcm.dmixer  {
        type dmix
        ipc_key 1024
        ipc_perm 0666
        slave {
            pcm "hw:0,0"
            period_time 0
            period_size 1024
            buffer_size 4096
            rate 44100
        }
        bindings {
            0 0
            1 1
        }
    }
    ctl.dmixer {
        type hw
        card 0
    }
 
Old 05-30-2005, 01:37 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
cool, i never know wether "modern" distro's set up alsa nicely or not, they never used to... good to know it should be a safe bet now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problems (cd player, flash, gaim, possibly related issues) mcmillan Linux - General 8 01-03-2006 11:56 PM
Music player leupi Linux - Software 7 11-10-2005 10:13 PM
gaim and music at same time!? Sinope Linux - Software 5 10-22-2004 09:35 AM
Sound problem with gaim and music Pathian Slackware 3 03-10-2004 11:29 PM
Music CD player Grummy Linux - Newbie 20 03-07-2002 04:20 PM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration