Commit | Line | Data |
---|---|---|
1 | //============================================\r | |
2 | //=== Audio XA decoding\r | |
3 | //=== Kazzuya\r | |
4 | //============================================\r | |
5 | \r | |
6 | typedef struct\r | |
7 | {\r | |
8 | int y0, y1;\r | |
9 | } ADPCM_Decode_t;\r | |
10 | \r | |
11 | typedef struct\r | |
12 | { \r | |
13 | int freq;\r | |
14 | int nbits;\r | |
15 | int stereo;\r | |
16 | int nsamples;\r | |
17 | ADPCM_Decode_t left, right;\r | |
18 | short pcm[16384];\r | |
19 | } xa_decode_t;\r | |
20 | \r | |
21 | \r | |
22 |