Set new arbitrary values with the input handler above the sound decoder.
This commit is contained in:
@@ -694,7 +694,7 @@ int InputHandler_Carbon::Run(void *data)
|
|||||||
(*i)->StartQueue( loopRef, InputHandler_Carbon::QueueCallBack, This, n++ );
|
(*i)->StartQueue( loopRef, InputHandler_Carbon::QueueCallBack, This, n++ );
|
||||||
This->mLoopRef = loopRef;
|
This->mLoopRef = loopRef;
|
||||||
|
|
||||||
SetThreadPrecedence( 30 ); // Somewhat arbitrary but less than the sound decoding thread
|
SetThreadPrecedence( 100 );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The function copies the information out of the structure, so the memory pointed
|
* The function copies the information out of the structure, so the memory pointed
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ OSStatus RageSound_CA::OverloadListener( AudioDeviceID inDevice,
|
|||||||
void RageSound_CA::SetupDecodingThread()
|
void RageSound_CA::SetupDecodingThread()
|
||||||
{
|
{
|
||||||
/* Increase the scheduling precedence of the decoder thread. */
|
/* Increase the scheduling precedence of the decoder thread. */
|
||||||
SetThreadPrecedence( 32 );
|
SetThreadPrecedence( 50 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user