TOLTECS: Fixed compilation with the latest trunk

This commit is contained in:
Filippos Karapetis 2010-01-24 02:45:32 +00:00 committed by Willem Jan Palenstijn
parent baf4218b05
commit 16baa44a2f

View File

@ -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;