mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
force non integer math to make loom work properly with vorbis again
svn-id: r5355
This commit is contained in:
parent
3de70690b9
commit
605b7f1d2a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user