aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs
diff options
context:
space:
mode:
authorjohndoe1232014-02-16 00:19:11 +0100
committerjohndoe1232014-02-16 00:19:11 +0100
commit2f22673945f69268c031ebbb7b0d1cd3f01c6e39 (patch)
tree119e76dbc6c7afbfffe4889b10ac606245401306 /engines/bbvs
parent6078bf7eba1a10bfd737a874744a11870f485f75 (diff)
downloadscummvm-rg350-2f22673945f69268c031ebbb7b0d1cd3f01c6e39.tar.gz
scummvm-rg350-2f22673945f69268c031ebbb7b0d1cd3f01c6e39.tar.bz2
scummvm-rg350-2f22673945f69268c031ebbb7b0d1cd3f01c6e39.zip
BBVS: Remove unneccessary makeLoopingAudioStream in playSpeech and use the audiostream directly
Diffstat (limited to 'engines/bbvs')
-rw-r--r--engines/bbvs/bbvs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bbvs/bbvs.cpp b/engines/bbvs/bbvs.cpp
index 77288b58c7..c886ed961e 100644
--- a/engines/bbvs/bbvs.cpp
+++ b/engines/bbvs/bbvs.cpp
@@ -2127,7 +2127,7 @@ void BbvsEngine::playSpeech(int soundNum) {
Common::String sndFilename = Common::String::format("snd/snd%05d.aif", soundNum);
Common::File *fd = new Common::File();
fd->open(sndFilename);
- Audio::AudioStream *audioStream = Audio::makeLoopingAudioStream(Audio::makeAIFFStream(fd, DisposeAfterUse::YES), 1);
+ Audio::AudioStream *audioStream = Audio::makeAIFFStream(fd, DisposeAfterUse::YES);
_mixer->playStream(Audio::Mixer::kSpeechSoundType, &_speechSoundHandle, audioStream);
}