change CreateThread to _beginthreadex (see ticket #84)
This commit is contained in:
parent
c49f234204
commit
7bcec2a83f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue