aboutsummaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authorColin Snover2016-07-11 10:37:51 -0500
committerColin Snover2016-07-11 10:39:50 -0500
commitec73fa1e4af4acc9806e948993f702dfc363a094 (patch)
treea7257cb11fddcc1cad038984176e956c9b8434ce /dists
parent1714cf8aa562e0eb25e957e9bf7636ceb4785216 (diff)
downloadscummvm-rg350-ec73fa1e4af4acc9806e948993f702dfc363a094.tar.gz
scummvm-rg350-ec73fa1e4af4acc9806e948993f702dfc363a094.tar.bz2
scummvm-rg350-ec73fa1e4af4acc9806e948993f702dfc363a094.zip
SCI32: Fix audio deadlocks
Several functions in Audio32 would call into the mixer to pause or resume the audio handle, which would cause a deadlock if the mixer's mixCallback timer fired while one of these functions was running on the main thread. To address this, calls to mixer to pause/unpause the digital audio handle have been removed. Since this was just an optimisation to prevent unnecessary calls to fill the audio buffer, the only problem now is that a tiny amount of CPU is wasted on unnecessary callbacks to read from the empty SCI mixer.
Diffstat (limited to 'dists')
0 files changed, 0 insertions, 0 deletions