aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-08 16:27:29 +0000
committerJohannes Schickel2010-01-08 16:27:29 +0000
commit616e4626f59ba354d420c60d59cb797b351de407 (patch)
tree4d605d91da4527ccefc59b0c8c51ab5ee8230c67 /engines/agos
parente976b1199538aa32067aed50f1886f2393ca148b (diff)
downloadscummvm-rg350-616e4626f59ba354d420c60d59cb797b351de407.tar.gz
scummvm-rg350-616e4626f59ba354d420c60d59cb797b351de407.tar.bz2
scummvm-rg350-616e4626f59ba354d420c60d59cb797b351de407.zip
Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp
index 4481778871..77604eca75 100644
--- a/engines/agos/sound.cpp
+++ b/engines/agos/sound.cpp
@@ -788,7 +788,7 @@ void Sound::playSoundData(Audio::SoundHandle *handle, byte *soundData, uint soun
convertVolume(vol);
convertPan(pan);
- _mixer->playInputStreamLooping(Audio::Mixer::kSFXSoundType, handle, sndStream, loop ? 0 : 1, -1, vol, pan);
+ _mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, Audio::makeLoopingAudioStream(sndStream, loop ? 0 : 1), -1, vol, pan);
}
void Sound::stopSfx5() {