Bugzilla – Bug 653128
alsa-plugins-pulse - no sound if another app already use pulseaudio
Last modified: 2010-11-22 12:27:57 UTC
User-Agent: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.6.30 Version/10.63 alsa-plugins-pulse - no sound if another app already use pulseaudio Reproducible: Always Steps to Reproduce: 1. start any app what support pulseaudio (for example: amarok), and start playing sound 2. start app what don't support pulseaudio(for example: flashplayer) - no sound from this app 3. if i press stop in first app and restart app what don't support pulseaudio - sound exist Actual Results: if i try to use application (1) what don't support pulseaudio, when another app (2) already use pulseaudio: (1)app - no sound, (2)app - sound exist Expected Results: application what don't support pulseaudio should play sound, if another app already use pulseaudio
PA blocks the sound device exclusively, so this is the expected result. If you are using another apps without PA, use pasuspender. Or, set up the system to use always PA. setup-pulse should turn it on. If this still doesn't work, reopen, and let's fix for 11.4.
>>set up the system to use always PA. setup-pulse should turn it on. PA is already on: setup-pulseaudio --status enabled cat /etc/asound.conf pcm.pulse { type pulse } ctl.pulse { type pulse } I tried to run setup-pulseaudio --enable again, but /etc/asound.conf - not changed I manually add: pcm.!default { type plug slave.pcm { type pulse } } ctl.!default { type pulse } to /etc/asound.conf - and now my problem fixed!!! Why setup-pulseaudio don't do it automatic? Is it's bug?
(In reply to comment #2) > Why setup-pulseaudio don't do it automatic? Is it's bug? ouh sorry, now I see /etc/asound.conf not exist by default... (and in this case used /etc/asound-pulse.conf) (but, as i remember i don't create it(/etc/asound.conf) manually - probably it become from previous opensuse versions )
Right, setup-pulse script sets up $ALSA_CONFIG_PATH environment variable to use /etc/asound-pulse.conf instead of changing /etc/asound.conf. This makes the trick. But, you can change /etc/asound.conf or ~/.asoundrc manually to achieve the same thing, too.