Mercurial > audlegacy-plugins
comparison src/psf2/peops2/psemuxa.h @ 2737:62cc6d667119
Import a bunch of stuff for new psf2 plugin.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 30 Jun 2008 20:20:53 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2731:324f950774cb | 2737:62cc6d667119 |
---|---|
1 //============================================ | |
2 //=== Audio XA decoding | |
3 //=== Kazzuya | |
4 //============================================ | |
5 | |
6 #ifndef DECODEXA_H | |
7 #define DECODEXA_H | |
8 | |
9 typedef struct | |
10 { | |
11 long y0, y1; | |
12 } ADPCM_Decode_t; | |
13 | |
14 typedef struct | |
15 { | |
16 int freq; | |
17 int nbits; | |
18 int stereo; | |
19 int nsamples; | |
20 ADPCM_Decode_t left, right; | |
21 short pcm[16384]; | |
22 } xa_decode_t; | |
23 | |
24 long xa_decode_sector( xa_decode_t *xdp, | |
25 unsigned char *sectorp, | |
26 int is_first_sector ); | |
27 | |
28 #endif |