aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
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/sword2
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/sword2')
-rw-r--r--engines/sword2/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sword2/sound.cpp b/engines/sword2/sound.cpp
index 03352a2166..213f3e7c83 100644
--- a/engines/sword2/sound.cpp
+++ b/engines/sword2/sound.cpp
@@ -340,7 +340,9 @@ int32 Sound::playFx(Audio::SoundHandle *handle, byte *data, uint32 len, uint8 vo
assert(input);
- _vm->_mixer->playInputStreamLooping(soundType, handle, input, loop ? 0 : 1, -1, vol, pan, true, false, isReverseStereo());
+ _vm->_mixer->playInputStream(soundType, handle,
+ Audio::makeLoopingAudioStream(input, loop ? 0 : 1),
+ -1, vol, pan, true, false, isReverseStereo());
return RD_OK;
}