Skype users may read http://pulseaudio.org/wiki/PerfectSetup#Skype

** Summary changed:

- PulseAudio prevents programs relying on ALSA to work correctly
+ Default ALSA device must use PulseAudio, otherwise ALSA applications may fail

** Description changed:

- Binary package hint: pulseaudio
+ Steps to reproduce:
  
- On latest Hardy amd64 running on Lenovo N100 laptop with Intel HDA sound
- card sound does work through PulseAudio, but programs relying on ALSA
- don't work properly.
+ Run both of these at the same time:
+ gst-launch-0.10 audiotestsrc ! pulsesink
+ gst-launch-0.10 audiotestsrc ! alsasink
  
- For example, aplay always reports that alsa device is busy. VLC doesn't
- produce any sound. So does Twinkle as well.
+ If your default sound device does not support hardware mixing, the
+ second command will fail. ALSA cannot use the device while PulseAudio is
+ using it, and this affects a lot of applications.
  
- Creating /etc/asound.conf as suggested in
- https://wiki.ubuntu.com/PulseAudio (this file is not created by default)
- doesn't help too much. In this case, aplay works as intended. VLC
- produces sound, too, but on attempt to stop playing PulseAudio hangs
- completely. Skype doesn't produce any sound. Twinkle produces no sound
- output, though microphone works correctly.
+ Note that if you run the commands the other way around, alsalib will use
+ dmix, and then so will pulseaudio, so there is not as much of a problem
+ this way around (except for the fact that dmix and PA are doing the same
+ job, and you can not control the ALSA-using apps' volumes and routing
+ with PA.)
+ 
+ 
+ Resolution:
+ 
+ Follow http://pulseaudio.org/wiki/PerfectSetup#ALSAApplications
+ i.e. install /etc/asound.conf with:
+ 
+ pcm.pulse {
+     type pulse
+ }
+ ctl.pulse {
+     type pulse
+ }
+ pcm.!default {
+     type pulse
+ }
+ ctl.!default {
+     type pulse
+ }
+ 
+ Note, too, that there are some applications that fail with ALSA->Pulse,
+ in particular, SDL seems to hang with Neverball. These bugs can be
+ addressed seperately in due course.

-- 
Default ALSA device must use PulseAudio, otherwise ALSA applications may fail
https://bugs.launchpad.net/bugs/198453
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to