aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp')
-rw-r--r--backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp b/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp
index 526a01d1bf..001389b1c0 100644
--- a/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp
+++ b/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp
@@ -45,7 +45,7 @@ void DoubleBufferSDLMixerManager::startAudio() {
// Create two sound buffers
_activeSoundBuf = 0;
- uint bufSize = _obtainedRate.samples * 4;
+ uint bufSize = _obtained.samples * 4;
_soundBufSize = bufSize;
_soundBuffers[0] = (byte *)calloc(1, bufSize);
_soundBuffers[1] = (byte *)calloc(1, bufSize);