diff options
author | johndoe123 | 2014-02-16 00:19:11 +0100 |
---|---|---|
committer | johndoe123 | 2014-02-16 00:19:11 +0100 |
commit | 2f22673945f69268c031ebbb7b0d1cd3f01c6e39 (patch) | |
tree | 119e76dbc6c7afbfffe4889b10ac606245401306 /engines | |
parent | 6078bf7eba1a10bfd737a874744a11870f485f75 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/bbvs/bbvs.cpp | 2 |
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); } |