aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorNorbert Lange2009-06-20 14:15:30 +0000
committerNorbert Lange2009-06-20 14:15:30 +0000
commit4725f4ab384e1c9ca3ec31d642c70b6a4e3b5f76 (patch)
tree317d9ef26b4a9d592c3f22a9b51cb1b362d4c0b8 /engines/scumm
parentc0228cfe70d3ece58323cc92f57a0a5786c3294c (diff)
downloadscummvm-rg350-4725f4ab384e1c9ca3ec31d642c70b6a4e3b5f76.tar.gz
scummvm-rg350-4725f4ab384e1c9ca3ec31d642c70b6a4e3b5f76.tar.bz2
scummvm-rg350-4725f4ab384e1c9ca3ec31d642c70b6a4e3b5f76.zip
inadvertedly used autofreestream which resulted in the Tfmx-Object beeing deleted twice
svn-id: r41712
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/player_v4a.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/player_v4a.cpp b/engines/scumm/player_v4a.cpp
index fadb456694..1c438392c4 100644
--- a/engines/scumm/player_v4a.cpp
+++ b/engines/scumm/player_v4a.cpp
@@ -124,7 +124,7 @@ void Player_V4A::startSound(int nr) {
_tfmxSfx->doSfx(index);
if (!_mixer->isSoundHandleActive(_sfxHandle))
- _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, _tfmxSfx, -1, Audio::Mixer::kMaxChannelVolume, 0, true, false);
+ _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, _tfmxSfx, -1, Audio::Mixer::kMaxChannelVolume, 0, false, true);
} else {
// Song
debug(5, "player_v4a: play song %i", index);
@@ -134,7 +134,7 @@ void Player_V4A::startSound(int nr) {
_musicId = nr;
if (!_mixer->isSoundHandleActive(_musicHandle))
- _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_musicHandle, _tfmxPlay, -1, Audio::Mixer::kMaxChannelVolume, 0, true, false);
+ _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_musicHandle, _tfmxPlay, -1, Audio::Mixer::kMaxChannelVolume, 0, false, true);
}
}