On 2020-02-19 23:24, Mick wrote:
On Wednesday, 19 February 2020 22:08:28 GMT n952162 wrote:
On 2020-02-19 22:58, n952162 wrote:
On 2020-02-19 22:43, Mick wrote:
On Wednesday, 19 February 2020 19:31:08 GMT n952162 wrote:
Perhaps coincidentally, that's almost identical to what I have on the
host:
01~>cat .asoundrc
defaults.pcm.!card 1
defaults.pcm.!device 0
defaults.pcm.!ctl 1
Isn't the exclamation mark "!" negating what follows it?
If you are disabling all of them, you'll end up with the default setting,
I
think.
Do you have a reference for that? I haven't been able to work out the
logic of what that might mean.
That "defaults.pcm.!card 1" might "*disable*" card 1 doesn't seem
plausible to me. If the default is 0, how is that improved by
"/disabling/" card 1? And, how do you assign card 1 to defaults, in
that case?
*$ cat /etc/alsa/conf.d/99-pulseaudio-default.conf.example *
# Default to PulseAudio
pcm.!default {
type pulse
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound
Server)"
}
}
ctl.!default {
type pulse
}
What would the bangs here mean?
I understand the exclation mark in the above statements to mean "change the
default" to "type pulse", but it has been years since I hacked asoundrc. Have
a look here:
https://alsa.opensrc.org/Asoundrc
Yes, I've seen that, and it's the best there is out there, but it
doesn't describe the grammar or semantics. It just gives a few random
examples but the grammar is complicated enough that I can't interpolate
from those.
That's why I asked elsewhere about retaining the sources of an emerge -
at some point I guess I'll have to go into ... I guess alsamixer ... and
reverse engineer it.