[ scummvm-Bugs-880484 ] BS2: Bad audio/video sync in cutscenes
SourceForge.net
noreply at sourceforge.net
Tue Jan 20 11:26:47 CET 2004
Bugs item #880484, was opened at 2004-01-20 11:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=880484&group_id=37116
Category: Graphics
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS2: Bad audio/video sync in cutscenes
Initial Comment:
For some reason, when I run BS2 on my Linux box
cutscene playback is smooth and well synced. However,
when I try it on a Windows box, the playback is jerky
(but well synced).
The jerkiness does not come from dropped frames or
anything like that. The Windows box is much faster than
my Linux box anyway. Instead, it appears to be because
the getSamplesPlayed() method of finding out how much
of the sound has played is simply too coarse in this case.
Each time readBuffer() is called, it requests 11024 new
samples, which means the returned value from
getSamplesPlayed() is increased by 5512. (When I play
MI1CD each call to readBuffer() requests 512 samples. I
don't know why the difference is so great.)
More information about the Scummvm-tracker
mailing list