diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-02-15 18:22:57 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-02-15 18:22:57 +0100 |
| commit | cbe7656b2ffd669fbaa5e4b0c709e29250f98573 (patch) | |
| tree | b366065aff5ac79a4230b203627962006af21984 /Source/Core/AudioCommon/OpenALStream.cpp | |
| parent | cf736cd5dff0d9cc4c2277c5e282835144849c57 (diff) | |
| parent | 9e56b1d3434c66316d974f324ed45a376d1d1fc0 (diff) | |
Merge pull request #42 from degasus/latencyFix
audio latency fix
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |
