summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-20 02:02:29 +0200
committerwm4 <wm4@nowhere>2014-09-20 02:02:29 +0200
commit73291014788d6a6617a08887ebc311a136450c09 (patch)
tree52fcd552beadf166370fce5d64ddf57b0a0cd6a5 /osdep
parentf64199fcdc7979d18e2dbb432c3c719282e937c6 (diff)
downloadmpv-73291014788d6a6617a08887ebc311a136450c09.tar.bz2
mpv-73291014788d6a6617a08887ebc311a136450c09.tar.xz
mixer: always restore volume (even with pulse), don't unmute
Be less clever, and restore the volume state even with AOs like pulse, which have per-application audio. Before this commit we didn't do this, because the volume is global (even if per-application), so the volume will persist between invocations. But to me it looks like always restoring is less tricky and makes for easier to understand semantics. Also, don't always unmute on exit. Unmuting was done even with ao_pulse, and interfered with user expectations (see #1107). This might annoy some users, because mpv will change the volume all the time. We will see. Fixes #1107.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions