aboutsummaryrefslogtreecommitdiff
path: root/plugins/spunull/xa.h
blob: cd38f96c7632fbe49688f7d0b5febdcb991a3b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//============================================
//=== Audio XA decoding
//=== Kazzuya
//============================================

typedef struct
{
	long	y0, y1;
} ADPCM_Decode_t;

typedef struct
{                                                                   
	int				freq;
	int				nbits;
	int				stereo;
	int				nsamples;
	ADPCM_Decode_t	left, right;
	short			pcm[16384];
} xa_decode_t;