summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-05 16:42:43 +0200
committerwm4 <wm4@nowhere>2016-10-05 16:42:43 +0200
commit6fb12a5fdaf95bf5ded286c8db18a30e392964e1 (patch)
treef37b67eacbe3375f01dba627800dee93ff220351 /player/core.h
parent3825dc63b2d29f3dc7dbd8f9e5e8db4293d3421b (diff)
downloadmpv-6fb12a5fdaf95bf5ded286c8db18a30e392964e1.tar.bz2
mpv-6fb12a5fdaf95bf5ded286c8db18a30e392964e1.tar.xz
audio: move some fallback handling to common AO reload function
Now a reload requested by an AO behaves in exactly the same way as changing an AO-related options (like --audio-channels or --audio-exclusive). This is good for testing and uniform behavior. (You could go as far as saying it's a necessity, because the spotty and obscure AO reload behavior is hard to reproduce and thus hard to test at all.)
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index bf6a768e82..b33d367cec 100644
--- a/player/core.h
+++ b/player/core.h
@@ -445,6 +445,7 @@ int init_audio_decoder(struct MPContext *mpctx, struct track *track);
void reinit_audio_chain_src(struct MPContext *mpctx, struct lavfi_pad *src);
void audio_update_volume(struct MPContext *mpctx);
void audio_update_balance(struct MPContext *mpctx);
+void reload_audio_output(struct MPContext *mpctx);
// configfiles.c
void mp_parse_cfgfiles(struct MPContext *mpctx);