From 048c1c7573faa9ae1862aa40477369303e268d53 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Mon, 12 Apr 2010 15:12:31 +0000 Subject: [PATCH] SPU2-X: Safer values for the new mix mode. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2837 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/Timestretcher.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/spu2-x/src/Timestretcher.cpp b/plugins/spu2-x/src/Timestretcher.cpp index fd5f45dd5e..51fbd073c3 100644 --- a/plugins/spu2-x/src/Timestretcher.cpp +++ b/plugins/spu2-x/src/Timestretcher.cpp @@ -206,13 +206,15 @@ void SndBuffer::UpdateTempoChangeAsyncMixing() float statusPct = GetStatusPct(); lastPct = statusPct; - if( statusPct < -0.1f ) + if( statusPct < -0.4f ) { - TickInterval = 100; + TickInterval -= 2; + if( TickInterval <= 200 ) TickInterval = 200; } - else if( statusPct > 0.1f ) + else if( statusPct > 0.4f ) { - TickInterval = 9000; + TickInterval += 10; + if( TickInterval >= 7000 ) TickInterval = 7000; } else TickInterval = 768; }