change quality parameter for SpeexResampler in Gambatte from 5 to 2. Speedup: 85fps->1500fps

This commit is contained in:
goyuken 2012-09-09 01:04:39 +00:00
parent f18eb2fef2
commit 7962c6d2cd
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ namespace BizHawk.Emulation.Consoles.Gambatte
void InitSound()
{
metaspu = new Sound.MetaspuSoundProvider(Sound.ESynchMethod.ESynchMethod_V);
resampler = new Sound.Utilities.SpeexResampler(5, 2097152, 44100, 2097152, 44100, metaspu.buffer.enqueue_samples);
resampler = new Sound.Utilities.SpeexResampler(2, 2097152, 44100, 2097152, 44100, metaspu.buffer.enqueue_samples);
}
public void GetSamples(short[] samples)