[ scummvm-Bugs-762593 ] ZAK256: Audio CD not handled properly
SourceForge.net
noreply at sourceforge.net
Sun Jun 29 08:23:43 CEST 2003
Bugs item #762593, was opened at 2003-06-29 06:23
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=762593&group_id=37116
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: hibernatus (hibernatus)
Assigned to: Nobody/Anonymous (nobody)
Summary: ZAK256: Audio CD not handled properly
Initial Comment:
Here is the format of an audio track sound:
First of all, the byte at 0xD tells you it's an audio track
(2). Nicer than testing the size.
The specific data starts at 0x16:
byte: track number
byte: number of times you play the track.
byte[3]: start (to cut the beginning of a song)
byte[3]: end
Here is how to read the start/end time:
value = (time[0] * 60 + time[1]) * 75 + time[2];
value is in 75ths of seconds (which means time[0] is in
minutes and time[1] is in seconds).
About the number of times to play:
0xFF means infinite
0 means "play once"
1 means "play twice", etc.
But i think it was a bug because there are only 2 sounds
which aren't looped infinitely (intro tune, and boom box
tune by Razor and the Scummettes), and both of them
are played twice while we'd logically expect them to be
played once.
I think the author thought 1 meant "play once".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=762593&group_id=37116
More information about the Scummvm-tracker
mailing list