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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-30-2005, 10:49 AM
|
#1
|
Member
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492
Rep:
|
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
|
|
|
05-30-2005, 01:11 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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)
|
|
|
05-30-2005, 01:23 PM
|
#3
|
Member
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492
Original Poster
Rep:
|
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
}
|
|
|
05-30-2005, 01:37 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|