diff options
author | Filippos Karapetis | 2010-01-24 02:45:32 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:09 +0100 |
commit | 16baa44a2fa60170858b138d77b74944121247e6 (patch) | |
tree | fa259868a02d1a0d51a22aceebc660c08f41d41b /engines | |
parent | baf4218b0503f56cfd7b3e20df9ff30623c37c8d (diff) | |
download | scummvm-rg350-16baa44a2fa60170858b138d77b74944121247e6.tar.gz scummvm-rg350-16baa44a2fa60170858b138d77b74944121247e6.tar.bz2 scummvm-rg350-16baa44a2fa60170858b138d77b74944121247e6.zip |
TOLTECS: Fixed compilation with the latest trunk
Diffstat (limited to 'engines')
-rw-r--r-- | engines/toltecs/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |