1SDL_CDtrack(3)                 SDL API Reference                SDL_CDtrack(3)
2
3
4

NAME

6       SDL_CDtrack - CD Track Information Structure
7

STRUCTURE DEFINITION

9       typedef struct{
10         Uint8 id;
11         Uint8 type;
12         Uint32 length;
13         Uint32 offset;
14       } SDL_CDtrack;
15

STRUCTURE DATA

17       id                  Track number (0-99)
18
19       type                SDL_AUDIO_TRACK or SDL_DATA_TRACK
20
21       length              Length, in frames, of this track
22
23       offset              Frame offset to the beginning of this track
24

DESCRIPTION

26       SDL_CDtrack  stores  data  on  each track on a CD, its fields should be
27       pretty self explainatory. It is a member a the SDL_CD structure.
28
29              Note:
30
31              Frames can be converted to standard timings.  There  are  CD_FPS
32              frames  per  second, so SDL_CDtrack.length/CD_FPS=length_in_sec‐
33              onds.
34

SEE ALSO

36       SDL_CD
37
38
39
40SDL                         Tue 11 Sep 2001, 22:59              SDL_CDtrack(3)
Impressum