diff options
author | Pixel <Pixel> | 2002-09-21 18:47:46 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-09-21 18:47:46 +0000 |
commit | 60c1003845035ad4cd0e9ea50862bad7626faf0e (patch) | |
tree | cf3f6e0015ede7b11112de87914734c02616dfa4 /PcsxSrc/Decode_XA.h | |
parent | 259110b90336240ce6cdde0201d05ce03a1f73fe (diff) |
Added the Pcsx source.
Diffstat (limited to 'PcsxSrc/Decode_XA.h')
-rw-r--r-- | PcsxSrc/Decode_XA.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PcsxSrc/Decode_XA.h b/PcsxSrc/Decode_XA.h new file mode 100644 index 0000000..d363fb4 --- /dev/null +++ b/PcsxSrc/Decode_XA.h @@ -0,0 +1,26 @@ +//============================================
+//=== Audio XA decoding
+//=== Kazzuya
+//============================================
+
+#ifndef DECODEXA_H
+#define DECODEXA_H
+
+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;
+
+long xa_decode_sector( xa_decode_t *xdp,
+ unsigned char *sectorp,
+ int is_first_sector );
+
+#endif
|