TSDL_CDTrack

Name

T SDL_CDTrack -- CD Track Information Structure

Structure Definition

  TSDL_CDTrack = record
id: Integer; // Track number
type_: UInt8; // Data or audio track
unused: UInt16;
length: UInt32; // Length, in frames, of this track
offset: UInt32; // Offset, in frames, from start of disk
end;

Structure Data

id Track number (0-99)
type SDL_AUDIO_TRACK or SDL_DATA_TRACK
length Length, in frames, of this track
offset Frame offset to the beginning of this track

Description

TSDL_CDtrack stores data on each track on a CD, its fields should be pretty self explainatory. It is a member a the TSDL_CD structure.

Note: Frames can be converted to standard timings. There are CD_FPS frames per second, so SDL_CDtrack.length/ CD_FPS=length_in_seconds.

See Also

TSDL_CD