mirror of https://github.com/snes9xgit/snes9x.git
Add back time ratio change. Buffer levels are stable, so this is mathematically correct.
This commit is contained in:
parent
2354bbb2ae
commit
38e8717ef3
|
@ -462,7 +462,7 @@ static void UpdatePlaybackRate (void)
|
||||||
|
|
||||||
if (Settings.MSU1)
|
if (Settings.MSU1)
|
||||||
{
|
{
|
||||||
time_ratio = 44100.0 / Settings.SoundPlaybackRate;
|
time_ratio = (44100.0 / Settings.SoundPlaybackRate) * (Settings.SoundInputRate / 32040.5);
|
||||||
msu::resampler->time_ratio(time_ratio);
|
msu::resampler->time_ratio(time_ratio);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue