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:
parent
a8b4be274c
commit
9fe2772780
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user