Alsa does not honor pcm.!default because of /usr/share/alsa/pulse.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Low
|
Daniel T Chen | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU information follows:
Impact statement: Users of Ubuntu 8.10 find that their /etc/asound.conf and ~/.asoundrc are ignored due to missing entries in /usr/share/
Bug resolution: The missing lines [referencing /etc/asound.conf and ~/.asoundrc] are added to /usr/share/
SRU patch: http://
Instructions to reproduce the symptom: Create an ~/.asoundrc with the following contents only:
# --- begin ---
pcm.!default {
type plug
slave hw:5,0
}
ctl.!default {
type hw
card 5
}
# --- end ---
After a fresh GNOME session login, open Applications> Accessories> Terminal, and use `speaker-test -Ddefault -c2' to verify that:
1) the speaker-test output continues to play (until interrupt, ctrl+c) through the PulseAudio-
2) no errors are generated by alsa-lib.
These two symptoms verify that ~/.asoundrc is ignored.
Regression potential: Users who have a misconfigured /etc/asound.conf or ~/.asoundrc will notice that native ALSA apps refuse to start and throw alsa-lib error(s), which can be resolved by removing the offending conffile.
Original description follows:
Binary package hint: pulseaudio
Even if I define a pcm.!default section in ~/.asoundrc, /usr/share/
If I comment the pcm.!default and ctl.!default in /usr/share/
Using Intrepid amd64.
Related branches
- Luke Yelavich: Pending requested
Changed in alsa-plugins: | |
assignee: | nobody → crimsun |
importance: | Undecided → Low |
status: | Invalid → New |
description: | updated |
Changed in pulseaudio: | |
status: | New → Fix Committed |
description: | updated |
Bug #198453 contains a long discussion about this, and although I haven't read it thoroughly, the gist is apparently that it's generally a good thing to do that override.
Still, people might have any number of reasons for wanting things their own way. I guess a problem here is that the alsa config files doesn't provide a way for letting local configuration properly override hook based configuration.
In the meantime, until that is fixed, I suggest an option in /etc/default/ pulseaudio to disable the overrides of pcm.!default and ctl.!default. That way it's at least possible to cope in a system level without resorting to editing files outside /etc.