diff options
author | Colin Snover | 2017-09-05 00:57:28 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-12 11:35:51 -0500 |
commit | bcbd4433594539cb0208809af12c6278632f8301 (patch) | |
tree | 02d3927aa8f155bf2faf6e649f7b22a029df8260 /backends/platform | |
parent | fa52df018ef44a30b45ceed31dffc25de3393e84 (diff) | |
download | scummvm-rg350-bcbd4433594539cb0208809af12c6278632f8301.tar.gz scummvm-rg350-bcbd4433594539cb0208809af12c6278632f8301.tar.bz2 scummvm-rg350-bcbd4433594539cb0208809af12c6278632f8301.zip |
SDL: Stop using double buffering mixer on macOS
This mixer type was added in
943b4c2036002454b276e0190dfc2c8919fb0cbf because "anything which
produces sampled data with high latency (like the MT-32 emulator)
will sound terribly", but as far as I can see (or reproduce), this
mixer doesn't do anything that would solve that problem, except
that it effectively doubles the size of the audio buffer so there's
less chance of an underflow due to slower-than-realtime synthesis
by the softsynth. But you don't need the overhead of a separate
thread to do that, you just need to increase the buffer size.
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index 7e6ef9588e..457746c381 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -64,7 +64,7 @@ void OSystem_MacOSX::init() { void OSystem_MacOSX::initBackend() { // Create the mixer manager if (_mixer == 0) { - _mixerManager = new DoubleBufferSDLMixerManager(); + _mixerManager = new SdlMixerManager(); // Setup and start mixer _mixerManager->init(); |