diff options
author | Johannes Schickel | 2010-01-08 16:27:29 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-08 16:27:29 +0000 |
commit | 616e4626f59ba354d420c60d59cb797b351de407 (patch) | |
tree | 4d605d91da4527ccefc59b0c8c51ab5ee8230c67 /sound/audiocd.cpp | |
parent | e976b1199538aa32067aed50f1886f2393ca148b (diff) | |
download | scummvm-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 'sound/audiocd.cpp')
-rw-r--r-- | sound/audiocd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp index 9869f31ac1..836f92b33d 100644 --- a/sound/audiocd.cpp +++ b/sound/audiocd.cpp @@ -78,7 +78,8 @@ void AudioCDManager::play(int track, int numLoops, int startFrame, int duration, repetitions. Finally, -1 means infinitely many */ _emulating = true; - _mixer->playInputStreamLooping(Audio::Mixer::kMusicSoundType, &_handle, stream, (numLoops < 1) ? numLoops + 1 : numLoops, start, end); + _mixer->playInputStream(Mixer::kMusicSoundType, &_handle, + makeLoopingAudioStream(stream, start, end, (numLoops < 1) ? numLoops + 1 : numLoops)); } else { _emulating = false; if (!only_emulate) |