From bf611ff0f6e801f18b7cc5ba0fd9fb415ca0dade Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Mon, 4 Jan 2016 18:16:40 -0800 Subject: ao_wasapi: initialize change notify in main thread This is something else that has nothing to do with audio rendering. --- audio/out/ao_wasapi_utils.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'audio/out/ao_wasapi_utils.c') diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 92ca547a4d..15eb8beccf 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -1123,8 +1123,6 @@ retry: ; MP_DBG(ao, "Creating proxies\n"); create_proxy_streams(state); - wasapi_change_init(ao, false); - MP_DBG(ao, "Init wasapi thread done\n"); return S_OK; exit_label: @@ -1141,7 +1139,6 @@ void wasapi_thread_uninit(struct ao *ao) if (state->pAudioClient) IAudioClient_Stop(state->pAudioClient); - wasapi_change_uninit(ao); destroy_proxy_streams(state); SAFE_RELEASE(state->pRenderClient, IAudioRenderClient_Release(state->pRenderClient)); -- cgit v1.2.3