2961
|
1 //
|
|
2 // Audio Overload
|
|
3 // Emulated music player
|
|
4 //
|
|
5 // (C) 2000-2008 Richard F. Bannister
|
|
6 //
|
|
7
|
|
8 // corlett.h
|
|
9
|
|
10 #define MAX_UNKNOWN_TAGS 32
|
|
11
|
|
12 typedef struct {
|
|
13 char lib[256];
|
|
14 char libaux[8][256];
|
|
15
|
|
16 char inf_title[256];
|
|
17 char inf_copy[256];
|
|
18 char inf_artist[256];
|
|
19 char inf_game[256];
|
|
20 char inf_year[256];
|
|
21 char inf_length[256];
|
|
22 char inf_fade[256];
|
|
23
|
|
24 char inf_refresh[256];
|
|
25
|
|
26 char tag_name[MAX_UNKNOWN_TAGS][256];
|
|
27 char tag_data[MAX_UNKNOWN_TAGS][256];
|
|
28
|
|
29 uint32 *res_section;
|
|
30 uint32 res_size;
|
|
31 } corlett_t;
|
|
32
|
|
33 int corlett_decode(uint8 *input, uint32 input_len, uint8 **output, uint64 *size, corlett_t **c);
|
|
34 uint32 psfTimeToMS(char *str);
|
|
35
|