1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

audio: make setting audio-exclusive update the audio chain

This is required since exclusive mode requires entirely different
initializaiton.
This commit is contained in:
Kevin Mitchell 2016-10-03 22:20:46 -07:00
parent 39f515cb6a
commit 387f501278

View File

@ -500,7 +500,7 @@ const m_option_t mp_opts[] = {
OPT_SETTINGSLIST("ao-defaults", ao_defs, 0, &ao_obj_list,
.deprecation_message = "deprecated, use global options"),
OPT_STRING("audio-device", audio_device, 0),
OPT_FLAG("audio-exclusive", audio_exclusive, 0),
OPT_FLAG("audio-exclusive", audio_exclusive, UPDATE_AUDIO),
OPT_STRING("audio-client-name", audio_client_name, 0),
OPT_FLAG("audio-fallback-to-null", ao_null_fallback, 0),
OPT_FLAG("audio-stream-silence", audio_stream_silence, 0),