You are not logged in.
Pages: 1
Hello everyone,
Is there any way to prevent PCM volume to go higher than 0 db gain (about 74%)?. I want to prevent programs or alsamixer to go higher than that. Or, if I can set it on a fixed value, in a way that no other program can change it, that will be ok too.
Is there any way to do that?
Offline
Sorry, I don't know a way for doing that specifically, but just wanted to say that to prevent this(>0dB), then I always just use the master volume instead of the pcm, and then I don't use the different programs volume controls, but just have assigned keybinds to controlling the alsa master volume of the system(by binding 3 keys to these commands: 'amixer set Master 5%+ unmute', 'amixer set Master 5%- unmute' and 'amixer set Master toggle').
Sorry for not being able to help with your specific issue, but maybe others know an actual way to do it? (allthough with the above "workaround" I don't really think it's needed, but that's just my humble openion)
Last edited by mhertz (2010-09-13 08:27:42)
Offline
It might be possible with the ALSA softvol plugin's max_dB parameter. IIRC you can go over 100% with it, so limiting it to, say, 75% should be possible too.
Offline
Thank you mhertz,
I do the same as you with keybinds, I never touch PCM, but some programs do, and if I configure every program to use the master volume, with the updates they go back to PCM. And as I'm not the only person that uses the pc, no matter how much effort I put to configure every thing, after a few days PCM ends up always at 100%.
By the moment, the only patch I made that works is to add a command to set PCM at 73% when the system starts. That auto-fix it at every boot, but it is not the ideal solution.
Thank you karol, I will try with softvol plugin if I can't find any other solution.
I will like to find a KISS solution, without adding plug-ins or extra software that I don't need.
Any other ideas?
Offline
watch amixer set PCM 74%will set it back to 74% every 2 seconds.
Offline
Rather than fixing it every xx time interval, I want to somehow prevent it for going higher than 73%...
So, it is confirmed that it can not be limited, or set to a fix value without having to add a plugin or extra software?
Is ALSA softvol plugin the only possible solution?
Offline
Pages: 1