summaryrefslogtreecommitdiffstats
path: root/audio/chmap.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-11 20:51:32 +0100
committerwm4 <wm4@nowhere>2015-12-11 20:52:37 +0100
commit000285ee8e077f5b0cd391ffc30cc71e5a3c728d (patch)
tree5e828164aef80d369a73ac0aed7270c8bc767943 /audio/chmap.c
parent67a4892ee3142e0dd6eacb82ee1b36c64c3ec711 (diff)
downloadmpv-000285ee8e077f5b0cd391ffc30cc71e5a3c728d.tar.bz2
mpv-000285ee8e077f5b0cd391ffc30cc71e5a3c728d.tar.xz
mixer: fix volume initialization with --af=volume
A manually added af_volume could lead to muted audio when switching to a new file. af_volume keeps the last volume set by AF_CONTROL_SET_VOLUME to return it with AF_CONTROL_GET_VOLUME, but the initial value is 0. So the mixer volume was forced to 0 when unintializing the filter chain and reading back the previously set volume.
Diffstat (limited to 'audio/chmap.c')
0 files changed, 0 insertions, 0 deletions