From 4ab9934008b565eb4de4313a644cdd7f1d799e08 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 7 Jun 2004 02:05:15 +0000 Subject: [PATCH] reverse output order --- stepmania/src/arch/Sound/RageSoundDriver_CA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp index 25df3ad408..7b39e23b73 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp @@ -289,10 +289,10 @@ OSStatus RageSound_CA::OverloadListener(AudioDeviceID inDevice, void *inData) { CString Output; - for( int i = 0; i < NUM_MIX_TIMES; ++i ) + for( int i = NUM_MIX_TIMES-1; i >= 0; --i ) { int pos = (g_fLastMixTimePos+i) % NUM_MIX_TIMES; - Output += ssprintf( "%.4f ", g_fLastMixTimes[pos] ); + Output += ssprintf( "%.3f ", g_fLastMixTimes[pos] ); } LOG->Warn( "Audio overload. Last IOProc time: %f IOProc calls: %i (%s) %i",