[Bug 567876] New: pulseaudio fails when default-sink (client.conf) is plugged off
http://bugzilla.novell.com/show_bug.cgi?id=567876 http://bugzilla.novell.com/show_bug.cgi?id=567876#c0 Summary: pulseaudio fails when default-sink (client.conf) is plugged off Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: cyberbeat@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.6 (KHTML, like Gecko) Chrome/4.0.266.0 Safari/532.6 I have 2 soundcards: an internal and an usb soundcard. I want to have sound from usb when plugged in. The only solution that seemed to be able to handle this was pulseaudio. (phonon in kde lacks an alsa emulation layer to be able to handle all applications like firefox,flash,..) I configured alsa do handle the pulseaudio device as default, and all works well when both cards are plugged in. I can switch between the cards (altough kde lacks a good gui for this for pulseaudio) and choose the "default" card in pavucontrol) and all applications play sound with my preferred card. When I used the notebook without the usb device, and then again with the usb device after startup the default sink was forgotten and the internal card was selected, so I had to switch after everytime I used the notebook without the usb device. So I created the line in /etc/pulse/client.conf default-sink = alsa_output.usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00.analog-stereo It works as long the usb device is connected. If it is not connected, ~/.xsessionerrors gives ALSA lib pcm_pulse.c:724:(pulse_prepare) PulseAudio: Unable to create stream: no such entity when trying to play sound with any application, even those using not the alsa emulation layer like paplay. Even worse when using flash-player it hangs and thousands of these error messages appear in the log. Perhaps this is also a wish for be able to define a soundcard priority (also for not actually plugged cards, like in phonon) in pulseaudio. That would solve the problem most elegant. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=567876
http://bugzilla.novell.com/show_bug.cgi?id=567876#c1
Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com