Getting error: "ALSA device "default" is already in use by another program."
If I'm playing a video file (with audio) on totem-xine and then try to play a ogg file on rhythmbox I get two error messages:
"ALSA device "default" is already in use by another program." "Could not pause playback" How can I play more then one audio stream at once? I have installed the ALSA driver and the esound daemon, that's not enough I guess? Do I need to install something or configure something or what? |
you need to use the dmix plugin inside alsa to accept multiple streams. with this working, you will not need esd at all. these should help you:
http://www.pseudorandom.co.uk/2004/debian/alsa/ http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix only a small piece of each should be needed though... |
hmm, I'm not getting much progress using that.. still having the same problem.
|
well you've not done it right yet then...
|
Okay I'm getting some progress. :)
So.. basically I just need to use the dmix plugin inside alsa and then I can have multible audio streams? Why isn't the dmix plugin installed like this by default then? |
Okay, I read and followed the instructions on http://www.pseudorandom.co.uk/2004/debian/alsa/ and now when I run totem-xine and gaim I can hear sound from both programs! Which is great. :)
But when I run rhyhtmbox it crashes, but when I remove the file /etc/asound.conf and run rhythmbox again it does not crash but now I when I try using totem-xine and gaim at the same time I can only get one audio stream to play at the same time. I guess I need to change my '/etc/asound.conf' file somehow or something.. any tips on what I could do? I'll post the code from '/etc/asound.conf' here and also the rhythmbox crash debug info. And yea, I got the asound.conf file from '/usr/share/doc/libasound2/examples/asound.conf_dmix'. /etc/asound.conf Code:
# Example /etc/asound.conf or ~/.asoundrc file showing how Rhythmbox debug info: Code:
Backtrace was generated from '/usr/bin/rhythmbox' |
Also, here is the '/etc/modprobe.d/sound' file.
Code:
alias char-major-116 snd |
was Getting the same error: "ALSA device "default" is already in use by another program." for rhythmbox......xmms was working without nay problems....
installing/ re-installing the following solved the problem....rhythmbox sound was restored gstreamer-plugins-mp3 gstreamer-plugins |
All times are GMT -5. The time now is 06:03 PM. |