diff options
Diffstat (limited to 'plugins/spunull/xa.h')
-rw-r--r-- | plugins/spunull/xa.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/spunull/xa.h b/plugins/spunull/xa.h new file mode 100644 index 0000000..cd38f96 --- /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;
+
+
+ |