- Slight adjustment on the timestretcher, stops it from going to "emergency" mode too often (even on bigger buffers).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2385 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-12-22 17:05:40 +00:00
parent c5b47530f9
commit 67b55648ae
1 changed files with 2 additions and 1 deletions

View File

@ -129,9 +129,10 @@ void SndBuffer::UpdateTempoChange()
if( cTempo < 0.965f || cTempo > 1.060f ||
pctChange < -0.38f || pctChange > 0.54f ||
statusPct < -0.32f || statusPct > 0.39f ||
statusPct < -0.42f || statusPct > 0.49f ||
eTempo < 0.89f || eTempo > 1.19f )
{
//printf("Emergency stretch: cTempo = %f eTempo = %f pctChange = %f statusPct = %f\n",cTempo,eTempo,pctChange,statusPct);
emergencyAdj = ( pow( statusPct*statusWeight, 3.0f ) * statusRange);
}