Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox)
Date: Wed, 19 Feb 2020 22:24:42
Message-Id: 2025266.Icojqenx9y@lenovo.localdomain
In Reply to: Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) by n952162
1 On Wednesday, 19 February 2020 22:08:28 GMT n952162 wrote:
2 > On 2020-02-19 22:58, n952162 wrote:
3 > > On 2020-02-19 22:43, Mick wrote:
4 > >> On Wednesday, 19 February 2020 19:31:08 GMT n952162 wrote:
5 > >>> Perhaps coincidentally, that's almost identical to what I have on the
6 host:
7 > >>> 01~>cat .asoundrc
8 > >>> defaults.pcm.!card 1
9 > >>> defaults.pcm.!device 0
10 > >>> defaults.pcm.!ctl 1
11 > >>
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 > >
18 > > Do you have a reference for that? I haven't been able to work out the
19 > > logic of what that might mean.
20 > >
21 > > That "defaults.pcm.!card 1" might "*disable*" card 1 doesn't seem
22 > > plausible to me. If the default is 0, how is that improved by
23 > > "/disabling/" card 1? And, how do you assign card 1 to defaults, in
24 > > that case?
25 >
26 > *$ cat /etc/alsa/conf.d/99-pulseaudio-default.conf.example *
27 > # Default to PulseAudio
28 >
29 > pcm.!default {
30 > type pulse
31 > hint {
32 > show on
33 > description "Default ALSA Output (currently PulseAudio Sound
34 > Server)"
35 > }
36 > }
37 >
38 > ctl.!default {
39 > type pulse
40 > }
41 >
42 > What would the bangs here mean?
43
44 I understand the exclation mark in the above statements to mean "change the
45 default" to "type pulse", but it has been years since I hacked asoundrc. Have
46 a look here:
47
48 https://alsa.opensrc.org/Asoundrc
49
50 --
51 Regards,
52
53 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) n952162 <n952162@×××.de>