1 |
On 2020-02-19 23:24, Mick wrote: |
2 |
> On Wednesday, 19 February 2020 22:08:28 GMT n952162 wrote: |
3 |
>> On 2020-02-19 22:58, n952162 wrote: |
4 |
>>> On 2020-02-19 22:43, Mick wrote: |
5 |
>>>> On Wednesday, 19 February 2020 19:31:08 GMT n952162 wrote: |
6 |
>>>>> Perhaps coincidentally, that's almost identical to what I have on the |
7 |
> host: |
8 |
>>>>> 01~>cat .asoundrc |
9 |
>>>>> defaults.pcm.!card 1 |
10 |
>>>>> defaults.pcm.!device 0 |
11 |
>>>>> defaults.pcm.!ctl 1 |
12 |
>>>> Isn't the exclamation mark "!" negating what follows it? |
13 |
>>>> |
14 |
>>>> If you are disabling all of them, you'll end up with the default setting, |
15 |
>>>> I |
16 |
>>>> think. |
17 |
>>> Do you have a reference for that? I haven't been able to work out the |
18 |
>>> logic of what that might mean. |
19 |
>>> |
20 |
>>> That "defaults.pcm.!card 1" might "*disable*" card 1 doesn't seem |
21 |
>>> plausible to me. If the default is 0, how is that improved by |
22 |
>>> "/disabling/" card 1? And, how do you assign card 1 to defaults, in |
23 |
>>> that case? |
24 |
>> *$ cat /etc/alsa/conf.d/99-pulseaudio-default.conf.example * |
25 |
>> # Default to PulseAudio |
26 |
>> |
27 |
>> pcm.!default { |
28 |
>> type pulse |
29 |
>> hint { |
30 |
>> show on |
31 |
>> description "Default ALSA Output (currently PulseAudio Sound |
32 |
>> Server)" |
33 |
>> } |
34 |
>> } |
35 |
>> |
36 |
>> ctl.!default { |
37 |
>> type pulse |
38 |
>> } |
39 |
>> |
40 |
>> What would the bangs here mean? |
41 |
> I understand the exclation mark in the above statements to mean "change the |
42 |
> default" to "type pulse", but it has been years since I hacked asoundrc. Have |
43 |
> a look here: |
44 |
> |
45 |
> https://alsa.opensrc.org/Asoundrc |
46 |
> |
47 |
|
48 |
Yes, I've seen that, and it's the best there is out there, but it |
49 |
doesn't describe the grammar or semantics. It just gives a few random |
50 |
examples but the grammar is complicated enough that I can't interpolate |
51 |
from those. |
52 |
|
53 |
That's why I asked elsewhere about retaining the sources of an emerge - |
54 |
at some point I guess I'll have to go into ... I guess alsamixer ... and |
55 |
reverse engineer it. |