Alsa change value to limit maximum volu
9 Oct
2023
9 Oct
'23
9:35 p.m.
Hi!
I am trying to limit the maximum allowed volume without using any softvol (I want to control direct hardware mixer, no dmix). My card is an external usb DAC, stating:
`amixer -c Balanced` Simple mixer control 'D10 Balanced',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 34 [27%] [-93.00dB] [on]
Limits are from 0 to 127. I would like to tune this manually so that anything using the card in the system will (for example) never go beyond 98 (and not 127).
I noticed that this value is in /var/lib/alsa/asound.state. Any possibility to change this value?
Thanks and have a nice day.
Sylvain
440
Age (days ago)
440
Last active (days ago)
0 comments
1 participants
participants (1)
-
prts