From 9ed7548de1343ce1f6380226f46d9f66c7b743d3 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 21 Jan 2006 11:14:13 +0000 Subject: [PATCH] Use new api. --- stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp | 2 +- stepmania/src/arch/Sound/RageSoundDriver_CA.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp index ada68550e3..6f71f5575a 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp @@ -705,7 +705,7 @@ int InputHandler_Carbon::Run( void *data ) CFRetain( This->mLoopRef ); This->StartDevices(); - SetThreadPrecedence( 100 ); + SetThreadPrecedence( 1.0f ); /* The function copies the information out of the structure, so the memory pointed * to by context does not need to persist beyond the function call. */ diff --git a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp index 4a83f474d4..65005aa00b 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp @@ -341,7 +341,7 @@ OSStatus RageSound_CA::JackChanged( AudioDeviceID inDevice, UInt32 inChannel, Bo void RageSound_CA::SetupDecodingThread() { /* Increase the scheduling precedence of the decoder thread. */ - SetThreadPrecedence( 50 ); + SetThreadPrecedence( 0.75f ); } /*