From f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 8 Jan 2010 22:09:43 +0000 Subject: Switch Mixer::playInputStream to use DisposeAfterUse::Flag svn-id: r47182 --- engines/cruise/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cruise') diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp index 4985dd3ef8..3a40e35ed3 100644 --- a/engines/cruise/sound.cpp +++ b/engines/cruise/sound.cpp @@ -298,7 +298,7 @@ AdlibSoundDriver::AdlibSoundDriver(Audio::Mixer *mixer) } memset(_instrumentsTable, 0, sizeof(_instrumentsTable)); initCard(); - _mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, false, true); + _mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true); _musicVolume = ConfMan.getBool("music_mute") ? 0 : MIN(255, ConfMan.getInt("music_volume")); _sfxVolume = ConfMan.getBool("sfx_mute") ? 0 : MIN(255, ConfMan.getInt("sfx_volume")); -- cgit v1.2.3