mixer: fix lowering hw volume while muted
commit14aa548157cc651ea732313406243666a26ab449
authorUoti Urpala <uau@mplayer2.org>
Thu, 8 Nov 2012 01:13:47 +0000 (8 03:13 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 8 Nov 2012 01:19:04 +0000 (8 03:19 +0200)
tree16230d188474afeb79d319e4a97f4ebf66967015
parent91a18f3998323b6d9b0ef67b4c1865d40fabfaf8
mixer: fix lowering hw volume while muted

Lowering volume while muted did not work correctly with audio outputs
that support native mute setting separate from volume (ao_alsa and
ao_pulse), because the AO-level volume was not set while muted but was
still being read back. Fix by setting the AO volume in this case.
mixer.c