diff options
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r-- | engines/kyra/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp index 1cf2d04840..5b32b69e19 100644 --- a/engines/kyra/sound.cpp +++ b/engines/kyra/sound.cpp @@ -149,10 +149,10 @@ uint32 Sound::voicePlayFromList(Common::List<const char*> fileList) { out->queueBuffer(vocBuffer, size); totalPlayTime += size; } - + totalPlayTime = (totalPlayTime * 1000) / 22050; out->finish(); - + _soundChannels[h].file = *fileList.begin(); _mixer->playInputStream(Audio::Mixer::kSpeechSoundType, &_soundChannels[h].channelHandle, out); return totalPlayTime; |