aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 8cbd8e673b..19704e882d 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1621,9 +1621,9 @@ Sound::VorbisTrackInfo::VorbisTrackInfo(File *file) {
}
int Sound::VorbisTrackInfo::play(SoundMixer *mixer, int start, int delay) {
- ov_pcm_seek(&_ov_file, start * ov_info(&_ov_file, -1)->rate / 75);
+ ov_pcm_seek(&_ov_file, start * ov_info(&_ov_file, -1)->rate / 75.0);
return mixer->playVorbis(NULL, &_ov_file,
- delay * ov_info(&_ov_file, -1)->rate / 75,
+ delay * ov_info(&_ov_file, -1)->rate / 75.0,
true);
}