mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X:
- 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:
parent
c5b47530f9
commit
67b55648ae
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue