diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 30f1f38ae8..08fdd14930 100755 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -324,8 +324,7 @@ static bool try_format(struct ao *ao, ao->channels.num, af_fmt_to_str(ao->format), ao->samplerate); return true; } - } if (hr == S_OK || (!state->opt_exclusive && hr == AUDCLNT_E_UNSUPPORTED_FORMAT)) { - // AUDCLNT_E_UNSUPPORTED_FORMAT here means "works in shared, doesn't in exclusive" + } else if (hr == S_OK) { if (set_ao_format(ao, &wformat.Format)) { MP_VERBOSE(ao, "%dch %s @ %dhz accepted\n", ao->channels.num, af_fmt_to_str(ao->format), samplerate);