diff options
author | Jonathan Gray | 2002-10-31 00:39:48 +0000 |
---|---|---|
committer | Jonathan Gray | 2002-10-31 00:39:48 +0000 |
commit | 6614318d2f3c74ecd6b4054fe6fac74797441cd5 (patch) | |
tree | b55bea0846496fc57e105a721fd77f8ab60919ab | |
parent | 605b7f1d2ae5c5c417d0015a9e57a6ff0b0ec188 (diff) | |
download | scummvm-rg350-6614318d2f3c74ecd6b4054fe6fac74797441cd5.tar.gz scummvm-rg350-6614318d2f3c74ecd6b4054fe6fac74797441cd5.tar.bz2 scummvm-rg350-6614318d2f3c74ecd6b4054fe6fac74797441cd5.zip |
fix the fixme.. changing one of the pcm_seek calls back to time_seek was what I meant to do...
svn-id: r5356
-rw-r--r-- | scumm/sound.cpp | 5 |
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); } |