diff options
author | wm4 <wm4@nowhere> | 2016-08-05 16:11:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-05 16:11:42 +0200 |
commit | b2e5eb13bc08a0286782fed29455a66a037b46e5 (patch) | |
tree | d4a1ed84f1a7dcd661522564760dc12a14996dcd /audio | |
parent | 088a0075c5eb44979181ec294a6681be148c2c4c (diff) | |
download | mpv-b2e5eb13bc08a0286782fed29455a66a037b46e5.tar.bz2 mpv-b2e5eb13bc08a0286782fed29455a66a037b46e5.tar.xz |
ao_wasapi: in exclusive mode do not output multichannel by default
Exactly the same situation as with ao_alsa in commit 0b144eac (except
that we can detect the situation better under wasapi).
Essentially, wasapi will allow us to output any sample format, and not
just the one configured by the user in the audio system settings.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_wasapi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 0e7dec885a..6218153bea 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -407,7 +407,7 @@ static bool search_channels(struct ao *ao, WAVEFORMATEXTENSIBLE *wformat) } entry = ao->channels; - if (ao_chmap_sel_adjust(ao, &chmap_sel, &entry)){ + if (ao_chmap_sel_adjust2(ao, &chmap_sel, &entry, !state->opt_exclusive)){ change_waveformat_channels(wformat, &entry); return true; } |