blob: fdac6eeae24b16b295825fca2c516fb779f8d6b3 [file] [log] [blame]
.TH "SDL_CDtrack" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
SDL_CDtrack \- CD Track Information Structure
\f(CWtypedef struct{
Uint8 id;
Uint8 type;
Uint32 length;
Uint32 offset;
} SDL_CDtrack;\fR
.TP 20
Track number (0-99)
.TP 20
.TP 20
Length, in frames, of this track
.TP 20
Frame offset to the beginning of this track
\fBSDL_CDtrack\fR stores data on each track on a CD, its fields should be pretty self explainatory\&. It is a member a the \fI\fBSDL_CD\fR\fR structure\&.
Frames can be converted to standard timings\&. There are \fBCD_FPS\fP frames per second, so \fBSDL_CDtrack\fR\&.\fBlength\fR/\fBCD_FPS\fP=length_in_seconds\&.
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59