]> git.sesse.net Git - vlc/commit
aout: remove what should be an unneeded update of "mute"
authorErwan Tulou <erwan10@videolan.org>
Wed, 20 Mar 2013 00:16:11 +0000 (01:16 +0100)
committerErwan Tulou <erwan10@videolan.org>
Thu, 21 Mar 2013 15:04:35 +0000 (16:04 +0100)
commit2ad2e671b814ebcee2a4724baf5a8606a5938554
tree421f2b3d40b8e830daea4c2e79ebe2864b19b336
parentcf65ebea89b537f2cdb22d34fb5990fc9fb21b91
aout: remove what should be an unneeded update of "mute"

if aout_MuteSet returns successfully, the "mute" variables at the aout
and playlist levels have already been updated via a call to aout_MuteReport.

This late update was a hack to make things work when a audio output driver
forgets to call aout_MuteReport. So this patch may bring regression for those
audio output drivers that still forget to call aout_MuteReport and yet
terminate successfully. This is likely to occur in corner cases, for instance
when no stream is available as was the case for pulse.c
src/playlist/aout.c