[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.47,1.48
Jonathan Gray
khalek at users.sourceforge.net
Wed Oct 30 16:40:04 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv23024
Modified Files:
sound.cpp
Log Message:
fix the fixme.. changing one of the pcm_seek calls back to time_seek was what I meant to do...
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- sound.cpp 31 Oct 2002 00:32:54 -0000 1.47
+++ sound.cpp 31 Oct 2002 00:39:48 -0000 1.48
@@ -1621,9 +1621,10 @@
}
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);
}
More information about the Scummvm-git-logs
mailing list