Peter Plessas wrote:
> when decreasing the master volume of my HDA-Intel [1] card using amixer:
> [1]Intel Corporation 82801G (ICH7 Family)
That is the controller, but the mixer controls are implemented in the
codec. Anyway, there is no codec that implements a combined volume/mute
control.
> I can't get to minus infinity (silent). -46.50dB is the lowest possible
> value, and I can still hear sound coming from its output. I know that I
> can mute the output but want to do this with one single key shortcut
> (hence executing one command as the one above) to fade down the master
> volume until silence.
>
> Does anyone have an idea how to make this work? Is there a script around
> that queries the actual value of the master volume and decides whether
> to decrease it further or issue the 'mute' command from amixer?
You can easily write such a script. The current volume is available
with "amixer get ..."; use something like this:
if amixer get Master | grep "Front Left: Playback 0 " > /dev/null; then
amixer set Master mute
else
amixer set Master 3- dB
fi
Best regards,
Clemens
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Dec 15 12:15:02 2009
This archive was generated by hypermail 2.1.8 : Tue Dec 15 2009 - 12:15:02 EET