From: gordon_gidluck Date: Sun, 14 Sep 2008 15:24:58 +0000 (+0000) Subject: ticket#84. Ran into a problem with conversion from CreateFile to _beginthreadex.... X-Git-Tag: svn/1415~24 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=5c79d5bcafe57f8a6681fcdda155055f510a0dd9;p=portaudio ticket#84. Ran into a problem with conversion from CreateFile to _beginthreadex. Changing it back for now. --- diff --git a/src/hostapi/wasapi/pa_win_wasapi.cpp b/src/hostapi/wasapi/pa_win_wasapi.cpp index bd4387a..f13a7f2 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 = (HANDLE)_beginthreadex( + stream->hThread = CreateThread( NULL, // no security attribute 0, // default stack size ProcThread,