Default ALSA device must use PulseAudio, otherwise ALSA applications may fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PulseAudio |
Invalid
|
Undecided
|
Unassigned | ||
alsa-lib (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
alsa-plugins (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
Run both of these at the same time:
gst-launch-0.10 audiotestsrc ! pulsesink
gst-launch-0.10 audiotestsrc ! alsasink
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.
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://
i.e. install /etc/asound.conf with:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Then, install the package "libasound2-
Note, too, that there are some applications that fail with ALSA->Pulse:
SDL* seems to hang with neverball, but that is fixed by installing the PulseAudio backend for SDL (libsdl1.
WINE has its own issues with regards to device selection, which I don't know a remedy for.
Skype* also has its own problems, but these aren't fixable by us and should not block us, though should be given some consideraton.
* SDL applications (using libsdl1.2-alsa backend), Skype and possibly other misbehaving applications work properly with later versions of libasound2 & libasound2-plugins from Debian unstable.
Changed in pulseaudio: | |
status: | Unknown → New |
description: | updated |
Changed in alsa-lib: | |
milestone: | ubuntu-8.04 → ubuntu-8.04.1 |
description: | updated |
Changed in alsa-lib: | |
importance: | High → Medium |
milestone: | ubuntu-8.04.1 → none |
status: | Confirmed → Fix Released |
Changed in alsa-plugins: | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in pulseaudio: | |
status: | Invalid → Confirmed |
Changed in alsa-lib: | |
status: | New → Incomplete |
Changed in alsa-plugins: | |
status: | New → Incomplete |
Changed in pulseaudio: | |
status: | New → Invalid |
Changed in pulseaudio: | |
status: | Invalid → Confirmed |
Changed in pulseaudio: | |
importance: | High → Medium |
Changed in alsa-lib (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in alsa-lib (Ubuntu Hardy): | |
status: | Incomplete → Confirmed |
Changed in alsa-plugins (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in alsa-plugins (Ubuntu Hardy): | |
status: | Incomplete → Confirmed |
Changed in pulseaudio (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in pulseaudio (Ubuntu Hardy): | |
status: | Invalid → Confirmed |
Changed in alsa-lib (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in alsa-lib (Ubuntu Hardy): | |
status: | Confirmed → Incomplete |
Changed in alsa-plugins (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in alsa-plugins (Ubuntu Hardy): | |
status: | Confirmed → Incomplete |
Changed in pulseaudio (Ubuntu Hardy): | |
status: | Confirmed → Invalid |
Changed in pulseaudio (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in pulseaudio (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in alsa-lib (Ubuntu): | |
status: | Fix Released → New |
Changed in alsa-plugins (Ubuntu): | |
status: | Fix Released → New |
Changed in pulseaudio (Ubuntu): | |
status: | Fix Committed → New |
Changed in pulseaudio: | |
status: | Confirmed → Invalid |
Changed in alsa-lib (Ubuntu Hardy): | |
status: | Incomplete → Won't Fix |
Changed in alsa-plugins (Ubuntu Hardy): | |
status: | Incomplete → Won't Fix |
Changed in alsa-plugins (Ubuntu): | |
status: | New → Fix Released |
Changed in alsa-lib (Ubuntu): | |
status: | New → Won't Fix |
Changed in pulseaudio (Ubuntu): | |
status: | New → Invalid |
status: | Invalid → Fix Released |
Changed in alsa-plugins (Ubuntu): | |
status: | Fix Released → Won't Fix |
Changed in pulseaudio (Ubuntu Hardy): | |
status: | Invalid → Won't Fix |
Partially confirmed: I have had the same problem with Skype and aplay, I have not yet tried the /etc/asound.conf workaround.
A workaround (NOT a fix) is apparently to run applications like this:
pasuspender skype