diff options
Diffstat (limited to 'adpcm.h')
-rw-r--r-- | adpcm.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -18,14 +18,13 @@ // pretend there's such a thing as mono for this format #define FOX62_ADPCM_PREAMBLE_SIZE 8 #define FOX62_ADPCM_BLOCK_SIZE 0x400 -#define FOX62_ADPCM_SAMPLES_PER_BLOCK \ - ((FOX62_ADPCM_BLOCK_SIZE - FOX62_ADPCM_PREAMBLE_SIZE) * 2) +// this isn't exact +#define FOX62_ADPCM_SAMPLES_PER_BLOCK 6000 int ima_adpcm_decode_block(unsigned short *output, unsigned char *input, int channels); int ms_adpcm_decode_block(unsigned short *output, unsigned char *input, int channels, int block_size); int fox61_adpcm_decode_block(unsigned short *output, unsigned char *input); -int fox62_adpcm_decode_block(unsigned short *output, unsigned char *input, - int channels); +int fox62_adpcm_decode_block(unsigned short *output, unsigned char *input); #endif |