diff options
author | Thanasis Antoniou | 2019-03-27 12:39:24 +0200 |
---|---|---|
committer | Thanasis Antoniou | 2019-03-27 12:39:24 +0200 |
commit | bb719ba87c5d370c3a62a660118b6cb58576b61b (patch) | |
tree | 4260f6cf0dec8a8888bae7b25db1f39362ae2471 /engines/bladerunner/audio_mixer.cpp | |
parent | 5795e25d73dee1ba1363546b6f351031baa6f4d3 (diff) | |
download | scummvm-rg350-bb719ba87c5d370c3a62a660118b6cb58576b61b.tar.gz scummvm-rg350-bb719ba87c5d370c3a62a660118b6cb58576b61b.tar.bz2 scummvm-rg350-bb719ba87c5d370c3a62a660118b6cb58576b61b.zip |
BLADERUNNER: Fix missing sound effects in some occassions
LABBUZZ sound for the maze and Animoid sounds
Moved lab buzz in next scene's (PS10) init, and increased size of track buffer to compensate for frequently dropping sounds in places with mayne sound effects (eg Animoid Row, Izo's door and trapdoor)
Diffstat (limited to 'engines/bladerunner/audio_mixer.cpp')
-rw-r--r-- | engines/bladerunner/audio_mixer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/bladerunner/audio_mixer.cpp b/engines/bladerunner/audio_mixer.cpp index b1562f33f8..df3a36154e 100644 --- a/engines/bladerunner/audio_mixer.cpp +++ b/engines/bladerunner/audio_mixer.cpp @@ -28,6 +28,7 @@ #include "audio/mixer.h" #include "common/timer.h" +//#include "common/debug.h" namespace BladeRunner { @@ -64,8 +65,10 @@ int AudioMixer::play(Audio::Mixer::SoundType type, Audio::RewindableAudioStream } if (channel == -1) { if (priority < lowestPriority) { + //debug("No available audio channel found - giving up"); return -1; } + //debug("Stopping lowest priority channel %d with lower prio %d!", lowestPriorityChannel, lowestPriority); stop(lowestPriorityChannel, 0); channel = lowestPriorityChannel; } |