some random improvements
[pcsx_rearmed.git] / plugins / dfsound / psemuxa.h
CommitLineData
ef79bbde
P
1//============================================\r
2//=== Audio XA decoding\r
3//=== Kazzuya\r
4//============================================\r
5\r
6#ifndef DECODEXA_H\r
7#define DECODEXA_H\r
8\r
9typedef struct\r
10{\r
c668f248 11 int y0, y1;\r
ef79bbde
P
12} ADPCM_Decode_t;\r
13\r
14typedef struct\r
15{ \r
16 int freq;\r
17 int nbits;\r
18 int stereo;\r
19 int nsamples;\r
20 ADPCM_Decode_t left, right;\r
21 short pcm[16384];\r
22} xa_decode_t;\r
23\r
c668f248 24int xa_decode_sector( xa_decode_t *xdp,\r
ef79bbde
P
25 unsigned char *sectorp,\r
26 int is_first_sector );\r
27\r
28#endif\r