]> Repos - portaudio/commitdiff
ticket#84. Ran into a problem with conversion from CreateFile to _beginthreadex....
authorgordon_gidluck <gordon_gidluck@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 14 Sep 2008 15:24:58 +0000 (15:24 +0000)
committergordon_gidluck <gordon_gidluck@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 14 Sep 2008 15:24:58 +0000 (15:24 +0000)
src/hostapi/wasapi/pa_win_wasapi.cpp

index bd4387aaffc3518330b34ec2252af60c717a2e8e..f13a7f230296c87f606ec1f7505bde967afc1543 100644 (file)
@@ -1517,7 +1517,7 @@ static PaError StartStream( PaStream *s )
        }\r
 \r
     // Create a thread for this client.\r
-    stream->hThread = (HANDLE)_beginthreadex(\r
+    stream->hThread = CreateThread(\r
         NULL,              // no security attribute\r
         0,                 // default stack size\r
         ProcThread,\r