aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorMax Horn2010-01-08 22:09:43 +0000
committerMax Horn2010-01-08 22:09:43 +0000
commitf720d99b0a4fdc97d4d5c01b8c4db43c318c62b1 (patch)
treeb628cb494432e593a24a19134817798d14672048 /engines/tinsel
parent490153232a89bc64deb8a2ea72443af986940e63 (diff)
downloadscummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.gz
scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.bz2
scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.zip
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/bmv.cpp2
-rw-r--r--engines/tinsel/music.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp
index 0bb13c2fab..85cc9bc7f2 100644
--- a/engines/tinsel/bmv.cpp
+++ b/engines/tinsel/bmv.cpp
@@ -458,7 +458,7 @@ void BMVPlayer::MovieAudio(int audioOffset, int blobs) {
if (currentSoundFrame == ADVANCE_SOUND) {
if (!audioStarted) {
_vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType,
- &_audioHandle, _audioStream, -1, Audio::Mixer::kMaxChannelVolume, 0, false);
+ &_audioHandle, _audioStream, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO);
audioStarted = true;
}
}
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp
index d38739d46a..7eee6b0aa8 100644
--- a/engines/tinsel/music.cpp
+++ b/engines/tinsel/music.cpp
@@ -571,7 +571,7 @@ PCMMusicPlayer::PCMMusicPlayer() {
_end = true;
_vm->_mixer->playInputStream(Audio::Mixer::kMusicSoundType,
- &_handle, this, -1, _volume, 0, false, true);
+ &_handle, this, -1, _volume, 0, DisposeAfterUse::NO, true);
}
PCMMusicPlayer::~PCMMusicPlayer() {