aboutsummaryrefslogtreecommitdiff
path: root/audio/rate.cpp
diff options
context:
space:
mode:
authorColin Snover2017-09-05 00:57:28 -0500
committerColin Snover2017-09-12 11:35:51 -0500
commitbcbd4433594539cb0208809af12c6278632f8301 (patch)
tree02d3927aa8f155bf2faf6e649f7b22a029df8260 /audio/rate.cpp
parentfa52df018ef44a30b45ceed31dffc25de3393e84 (diff)
downloadscummvm-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 'audio/rate.cpp')
0 files changed, 0 insertions, 0 deletions