From 9e56b1d3434c66316d974f324ed45a376d1d1fc0 Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 13 Feb 2014 13:22:29 +0100 Subject: Disable framerate correction for OpenAL OpenAL itself stretch the time on slowdowns, so the Mixer isn't allowed also to change the rate. --- Source/Core/AudioCommon/OpenALStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/OpenALStream.cpp') diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index ce59dc6c57..6e741e8e71 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -192,7 +192,7 @@ void OpenALStream::SoundLoop() unsigned int minSamples = surround_capable ? 240 : 0; // DPL2 accepts 240 samples minimum (FWRDURATION) numSamples = (numSamples > OAL_MAX_SAMPLES) ? OAL_MAX_SAMPLES : numSamples; - numSamples = m_mixer->Mix(realtimeBuffer, numSamples); + numSamples = m_mixer->Mix(realtimeBuffer, numSamples, false); // Convert the samples from short to float float dest[OAL_MAX_SAMPLES * STEREO_CHANNELS]; -- cgit v1.2.3