aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 19704e882d..c44b7fedd0 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1621,9 +1621,10 @@ 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.0);
+ // fixme tremor handles delay differently
+ ov_time_seek(&_ov_file, start / 75.0);
return mixer->playVorbis(NULL, &_ov_file,
- delay * ov_info(&_ov_file, -1)->rate / 75.0,
+ delay * ov_info(&_ov_file, -1)->rate / 75,
true);
}