From 16baa44a2fa60170858b138d77b74944121247e6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 24 Jan 2010 02:45:32 +0000 Subject: TOLTECS: Fixed compilation with the latest trunk --- engines/toltecs/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/toltecs') diff --git a/engines/toltecs/sound.cpp b/engines/toltecs/sound.cpp index c9ca777cad..d4f18be222 100644 --- a/engines/toltecs/sound.cpp +++ b/engines/toltecs/sound.cpp @@ -149,7 +149,7 @@ void Sound::internalPlaySound(int16 resIndex, int16 type, int16 volume, int16 pa Resource *soundResource = _vm->_res->load(resIndex); Audio::AudioStream *stream = Audio::makeLoopingAudioStream( - Audio::makeRawMemoryStream(soundResource->data, soundResource->size, DisposeAfterUse::YES/*CHECKME*/, 22050, Audio::FLAG_UNSIGNED), + Audio::makeRawMemoryStream(soundResource->data, soundResource->size, 22050, Audio::FLAG_UNSIGNED, DisposeAfterUse::YES/*CHECKME*/), type == kChannelTypeBackground ? 0 : 1); channels[freeChannel].type = type; -- cgit v1.2.3