ao_wasapi: minor cosmetic fixes

This commit is contained in:
Kevin Mitchell 2017-07-08 15:29:14 -07:00
parent 2514e542e5
commit 7568715563
1 changed files with 3 additions and 3 deletions

View File

@ -945,15 +945,15 @@ HRESULT wasapi_thread_init(struct ao *ao)
ao->format = af_fmt_from_planar(ao->format);
retry: ;
retry:
if (state->deviceID) {
hr = load_device(ao->log, &state->pDevice, state->deviceID);
EXIT_ON_ERROR(hr);
MP_DBG(ao, "Activating pAudioClient interface\n");
hr = IMMDeviceActivator_Activate(state->pDevice, &IID_IAudioClient,
CLSCTX_ALL, NULL,
(void **)&state->pAudioClient);
CLSCTX_ALL, NULL,
(void **)&state->pAudioClient);
EXIT_ON_ERROR(hr);
} else {
MP_VERBOSE(ao, "Trying UWP wrapper.\n");