1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 00:29:02 +00:00

ao_wasapi: Log the passthrough format in MSGL_V

This commit is contained in:
Diogo Franco (Kovensky) 2013-07-20 13:58:25 -03:00 committed by wm4
parent a8b4be274c
commit 9fe2772780

View File

@ -414,6 +414,11 @@ static int try_passthrough(struct wasapi_state *state,
union WAVEFMT u;
u.extensible = &wformat;
EnterCriticalSection(&state->print_lock);
mp_msg(MSGT_AO, MSGL_V, "ao-wasapi: trying passthrough for %s...\n",
af_fmt2str_short(ao->format));
LeaveCriticalSection(&state->print_lock);
HRESULT hr = IAudioClient_IsFormatSupported(state->pAudioClient,
state->share_mode,
u.ex, NULL);