diff options
author | Benjamin Haisch | 2010-04-15 09:18:46 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:09 +0100 |
commit | 7f78f62467af6a1e65e06a155ada3c07ce94db47 (patch) | |
tree | 97163c1c2a41c3049fe47c5e18cf4f3b0262072b | |
parent | 34eb899b25edb462267b3a0593fd4b3f324b3546 (diff) | |
download | scummvm-rg350-7f78f62467af6a1e65e06a155ada3c07ce94db47.tar.gz scummvm-rg350-7f78f62467af6a1e65e06a155ada3c07ce94db47.tar.bz2 scummvm-rg350-7f78f62467af6a1e65e06a155ada3c07ce94db47.zip |
TOLTECS: Fixed compilation with current SVN changes
-rw-r--r-- | engines/toltecs/movie.cpp | 2 | ||||
-rw-r--r-- | engines/toltecs/sound.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp index 2fd0d186c9..d5839cbcd3 100644 --- a/engines/toltecs/movie.cpp +++ b/engines/toltecs/movie.cpp @@ -81,7 +81,7 @@ void MoviePlayer::playMovie(uint resIndex) { _audioStream = Audio::makeQueuingAudioStream(22050, false); - _vm->_mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_audioStreamHandle, _audioStream); + _vm->_mixer->playStream(Audio::Mixer::kPlainSoundType, &_audioStreamHandle, _audioStream); _soundChunkFramesLeft = 0; _lastPrefetchOfs = 0; diff --git a/engines/toltecs/sound.cpp b/engines/toltecs/sound.cpp index 7be5dba9d6..d015720004 100644 --- a/engines/toltecs/sound.cpp +++ b/engines/toltecs/sound.cpp @@ -161,7 +161,7 @@ void Sound::internalPlaySound(int16 resIndex, int16 type, int16 volume, int16 pa } */ - _vm->_mixer->playInputStream(soundType, &channels[freeChannel].handle, + _vm->_mixer->playStream(soundType, &channels[freeChannel].handle, stream, -1, volume, panning); } |