From 5e3ba55d4949ad8a4bb85776e3d25fe5e87644cc Mon Sep 17 00:00:00 2001 From: gordon_gidluck Date: Sun, 14 Sep 2008 14:29:34 +0000 Subject: [PATCH] change CreateThread to _beginthreadex (related to ticket #84) --- src/hostapi/wasapi/pa_win_wasapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostapi/wasapi/pa_win_wasapi.cpp b/src/hostapi/wasapi/pa_win_wasapi.cpp index f13a7f2..bd4387a 100644 --- a/src/hostapi/wasapi/pa_win_wasapi.cpp +++ b/src/hostapi/wasapi/pa_win_wasapi.cpp @@ -1517,7 +1517,7 @@ static PaError StartStream( PaStream *s ) } // Create a thread for this client. - stream->hThread = CreateThread( + stream->hThread = (HANDLE)_beginthreadex( NULL, // no security attribute 0, // default stack size ProcThread, -- 2.43.0