mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-14 13:49:51 +00:00
SPU2-X:
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:
parent
a45c013ff3
commit
048c1c7573
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user