diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-09-04 11:49:23 +0200 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-09-10 12:32:52 -0700 |
commit | 3167a77aa38b3700c9a4459fa5fe2f65eef080a8 (patch) | |
tree | 06e2fae53fe11485939795f13ad71539f779bf22 /player/core.h | |
parent | 221bf540a1a1dc13a6743f6fdd3b3e47c9f96db2 (diff) | |
download | mpv-3167a77aa38b3700c9a4459fa5fe2f65eef080a8.tar.bz2 mpv-3167a77aa38b3700c9a4459fa5fe2f65eef080a8.tar.xz |
audio: add AOCONTROL_UPDATE_MEDIA_ROLE
This is used to notify an AO about the type of media that is being
played.
Either a movie or music.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index 71595ef4f6..c4a75aa25c 100644 --- a/player/core.h +++ b/player/core.h @@ -487,6 +487,7 @@ int init_audio_decoder(struct MPContext *mpctx, struct track *track); void reinit_audio_chain_src(struct MPContext *mpctx, struct track *track); void audio_update_volume(struct MPContext *mpctx); void audio_update_balance(struct MPContext *mpctx); +void audio_update_media_role(struct MPContext *mpctx); void reload_audio_output(struct MPContext *mpctx); void audio_start_ao(struct MPContext *mpctx); |