Get rid of magic number.

This commit is contained in:
jdpurcell 2015-01-16 06:05:25 +00:00
parent 264063d8ac
commit 1470add91d
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ namespace BizHawk.Client.EmuHawk
if (!Global.DisableSecondaryThrottling)
while (samplesNeeded < samplesProvided)
{
System.Threading.Thread.Sleep((samplesProvided - samplesNeeded) / 88); // let audio clock control sleep time
System.Threading.Thread.Sleep((samplesProvided - samplesNeeded) / (SampleRate / 1000)); // let audio clock control sleep time
samplesNeeded = CalculateSamplesNeeded();
}
}