X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fspunull%2Fxa.h;fp=plugins%2Fspunull%2Fxa.h;h=cd38f96c7632fbe49688f7d0b5febdcb991a3b88;hp=0000000000000000000000000000000000000000;hb=0d464c772e9a22e02818c309b79f8cc724ebb891;hpb=507aaf98de47ca11c52ced9957d4f190aff71777 diff --git a/plugins/spunull/xa.h b/plugins/spunull/xa.h new file mode 100644 index 00000000..cd38f96c --- /dev/null +++ b/plugins/spunull/xa.h @@ -0,0 +1,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; + + +