From d4393be0f92f04922c5530d16b6db808d0b683ed Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 14 Nov 2014 08:03:12 -0800 Subject: ao/wasapi: make calling of thread_init consistent with thread_uninit --- audio/out/ao_wasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/ao_wasapi.c') diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index c9a079ffc9..68317703d5 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -126,7 +126,7 @@ static DWORD __stdcall ThreadLoop(void *lpParameter) QS_POSTMESSAGE | QS_SENDMESSAGE); switch (waitstatus) { case WAIT_OBJECT_0: /*shutdown*/ - wasapi_thread_uninit(state); + wasapi_thread_uninit(ao); goto exit_label; case (WAIT_OBJECT_0 + 1): /* feed */ thread_feed(ao); -- cgit v1.2.3