From 7bcec2a83faeba70e639a2a12f7d6a4631d0c009 Mon Sep 17 00:00:00 2001 From: gordon_gidluck Date: Sun, 14 Sep 2008 14:18:17 +0000 Subject: [PATCH] change CreateThread to _beginthreadex (see ticket #84) --- src/hostapi/wmme/pa_win_wmme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index c2ef68d..2f58cfe 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -3244,7 +3244,7 @@ static PaError StartStream( PaStream *s ) if( result != paNoError ) goto error; /* Create thread that waits for audio buffers to be ready for processing. */ - stream->processingThread = CreateThread( 0, 0, ProcessingThreadProc, stream, 0, &stream->processingThreadId ); + stream->processingThread = (HANDLE)_beginthreadex( 0, 0, ProcessingThreadProc, stream, 0, &stream->processingThreadId ); if( !stream->processingThread ) { result = paUnanticipatedHostError; -- 2.43.0