diff options
author | Colin Snover | 2016-07-11 10:37:51 -0500 |
---|---|---|
committer | Colin Snover | 2016-07-11 10:39:50 -0500 |
commit | ec73fa1e4af4acc9806e948993f702dfc363a094 (patch) | |
tree | a7257cb11fddcc1cad038984176e956c9b8434ce /engines/gob/mult_v2.cpp | |
parent | 1714cf8aa562e0eb25e957e9bf7636ceb4785216 (diff) | |
download | scummvm-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 'engines/gob/mult_v2.cpp')
0 files changed, 0 insertions, 0 deletions