bpa wrote: > I'd hope that ALSA driver really drives the h/w control. > > You could try using amixer and the "set" command,and see if display > changes. > I did a bit of testing with a cheap USB audio adapter with just > headphone & mic. > Using "aplay -l" - the C-Media device showed up as card 2 with name > "Set" so amixer option to select card 2 is "-c 2" or "-c Set" > > > Code: -------------------- > > minitower:$ amixer -c 2 scontrols > Simple mixer control 'Headphone',0 > Simple mixer control 'Mic',0 > Simple mixer control 'Auto Gain Control',0 > > minitower:$ amixer -c 2 scontents > Simple mixer control 'Headphone',0 > Capabilities: pvolume pswitch pswitch-joined > Playback channels: Front Left - Front Right > Limits: Playback 0 - 151 > Mono: > Front Left: Playback 80 [53%] [-13.38dB] [on] > Front Right: Playback 80 [53%] [-13.38dB] [on] > Simple mixer control 'Mic',0 > Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined > Playback channels: Mono > Capture channels: Mono > Limits: Playback 0 - 32 Capture 0 - 16 > Mono: Playback 23 [72%] [34.36dB] [off] Capture 0 [0%] [0.00dB] [on] > Simple mixer control 'Auto Gain Control',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > > minitower:$ amixer -c Set set Headphone 90 > Simple mixer control 'Headphone',0 > Capabilities: pvolume pswitch pswitch-joined > Playback channels: Front Left - Front Right > Limits: Playback 0 - 151 > Mono: > Front Left: Playback 90 [60%] [-11.50dB] [on] > Front Right: Playback 90 [60%] [-11.50dB] [on] > -------------------- > > Hmm amixer -c 1 set "E30 " 110 works but it sets alsamixer to 110 out of 127 and doesn't directly control the E30 preamp attenuation. Is changing volume in alsamixer theoretically better or worse than in LMS?
Sent from my Pixel 3a using Tapatalk ------------------------------------------------------------------------ slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=117242 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
