Safer values for the new mix mode.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2837 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-04-12 15:12:31 +00:00
parent a45c013ff3
commit 048c1c7573

View File

@ -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;
}