diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-31 15:48:52 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-31 15:48:52 +0000 |
| commit | d4e4912b5bd1f70022567abc3df880f32e174567 (patch) | |
| tree | b6797f8ec1278c53f22b71197706a661880d14b4 /macosx/plugins/PeopsSpu109/src/psemuxa.h | |
| parent | e719dae71d52983edb311fa29fb88a01220547ec (diff) | |
| download | pcsxr-d4e4912b5bd1f70022567abc3df880f32e174567.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34345 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/PeopsSpu109/src/psemuxa.h')
| -rwxr-xr-x | macosx/plugins/PeopsSpu109/src/psemuxa.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/macosx/plugins/PeopsSpu109/src/psemuxa.h b/macosx/plugins/PeopsSpu109/src/psemuxa.h new file mode 100755 index 00000000..84c62604 --- /dev/null +++ b/macosx/plugins/PeopsSpu109/src/psemuxa.h @@ -0,0 +1,28 @@ +//============================================
+//=== 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
|
