summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sdl.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-04-11 02:48:18 +0300
committerUoti Urpala <uau@mplayer2.org>2012-04-11 03:35:53 +0300
commit157a6c1e8343cf0d174e6f9edee441bfefebe578 (patch)
tree2fa104dee7274f58ec367b080b2088d70f242e3a /libao2/ao_sdl.c
parent7807f46cd1b8f58ee8f2e5f6d7240d7ca7502311 (diff)
downloadmpv-157a6c1e8343cf0d174e6f9edee441bfefebe578.tar.bz2
mpv-157a6c1e8343cf0d174e6f9edee441bfefebe578.tar.xz
audio: mixer: change logic for AOs with no volume control
The volume filter was automatically inserted if setting AO volume failed. Remove that logic, and instead enable softvol mode fully if querying current volume (which will happen before any set attempts) fails. Fully switching to softvol mode is more robust, and any case where the behavior would differ (the behavior is neither that both querying/setting always work nor that both always fail) would have been buggy.
Diffstat (limited to 'libao2/ao_sdl.c')
0 files changed, 0 insertions, 0 deletions