You are not logged in.
I noticed that by default alsa doesn't allow for playing from two or more sources simultaneously. For instance playing a youtube video while already playing music from mpd will result in having only sound from mpd. How can I enable playback of multiple audio sources in alsa? Thanks
Last edited by hesse (2012-07-13 22:24:29)
Offline
Either use dmix or pulseaudio.
Offline
Set up mpd - you probably have it set up to hog the soundcard.
Offline
Thanks guys, but I already have configured MPD: http://pastebin.com/GJb5jHnv At least I think it's not the problem.
Offline
I already have configured MPD
Badly. It needs to output to *dmix*. "hw:whatever" bypasses dmix, and so won't share with flash.
Offline
I put this in /etc/asound.conf
pcm.dsp {
type plug
slave.pcm "dmix"
}
and left the settings in mpd.conf like this:
audio_output {
type "alsa"
name "ALSA Device"
}
The mixing now works with multiple audio sources! Thank you.
Offline