Annotated edit history of
SDL_CDtrack(3) version 1, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
SDL_CDtrack |
| |
|
2 |
!!!SDL_CDtrack |
| |
|
3 |
NAME |
| |
|
4 |
STRUCTURE DEFINITION |
| |
|
5 |
STRUCTURE DATA |
| |
|
6 |
DESCRIPTION |
| |
|
7 |
SEE ALSO |
| |
|
8 |
---- |
| |
|
9 |
!!NAME |
| |
|
10 |
|
| |
|
11 |
|
| |
|
12 |
SDL_CDtrack- CD Track Information Structure |
| |
|
13 |
!!STRUCTURE DEFINITION |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
typedef struct{ |
| |
|
17 |
Uint8 id; |
| |
|
18 |
Uint8 type; |
| |
|
19 |
Uint32 length; |
| |
|
20 |
Uint32 offset; |
| |
|
21 |
} SDL_CDtrack; |
| |
|
22 |
!!STRUCTURE DATA |
| |
|
23 |
|
| |
|
24 |
|
| |
|
25 |
__id__ Track number (0-99) |
| |
|
26 |
|
| |
|
27 |
|
| |
|
28 |
__type SDL_AUDIO_TRACK__ or |
| |
|
29 |
__SDL_DATA_TRACK__ |
| |
|
30 |
|
| |
|
31 |
|
| |
|
32 |
__length__ Length, in frames, of this track |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
__offset__ Frame offset to the beginning of this |
| |
|
36 |
track |
| |
|
37 |
!!DESCRIPTION |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
__SDL_CDtrack__ stores data on each track on a CD, its |
| |
|
41 |
fields should be pretty self explainatory. It is a member a |
| |
|
42 |
the __SDL_CD__ structure. |
| |
|
43 |
|
| |
|
44 |
|
| |
|
45 |
__Note:__ |
| |
|
46 |
|
| |
|
47 |
|
| |
|
48 |
Frames can be converted to standard timings. There are |
| |
|
49 |
__CD_FPS__ frames per second, so |
| |
|
50 |
__SDL_CDtrack__.__length__/__CD_FPS__=length_in_seconds. |
| |
|
51 |
!!SEE ALSO |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
__SDL_CD__ |
| |
|
55 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.