notaz.gp2x.de
/
picodrive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
cue/bin finally implemented
[picodrive.git]
/
Pico
/
cd
/
cue.h
1
2
typedef enum
3
{
4
CT_UNKNOWN = 0,
5
CT_ISO = 1, /* 2048 B/sector */
6
CT_BIN = 2, /* 2352 B/sector */
7
CT_MP3 = 3,
8
CT_WAV = 4
9
} cue_track_type;
10
11
typedef struct
12
{
13
char *fname;
14
int pregap; /* pregap for current track */
15
int sector_offset; /* in current file */
16
cue_track_type type;
17
} cue_track;
18
19
typedef struct
20
{
21
int track_count;
22
cue_track tracks[0];
23
} cue_data_t;
24
25
26
cue_data_t *cue_parse(const char *fname);
27
void cue_destroy(cue_data_t *data);
28