aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/sequences.cpp
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/tucker/sequences.cpp
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/tucker/sequences.cpp')
-rw-r--r--engines/tucker/sequences.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index fd51faf207..cae0f527c2 100644
--- a/engines/tucker/sequences.cpp
+++ b/engines/tucker/sequences.cpp
@@ -635,7 +635,8 @@ void AnimationSequencePlayer::updateSounds() {
break;
case 1:
if ((s = loadSound(p->num, kAnimationSoundTypeWAV)) != 0) {
- _mixer->playInputStreamLooping(Audio::Mixer::kSFXSoundType, &_soundsHandle[p->index], s, 0, -1, scaleMixerVolume(p->volume));
+ _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_soundsHandle[p->index], Audio::makeLoopingAudioStream(s, 0),
+ -1, scaleMixerVolume(p->volume));
}
break;
case 2: