mirror of
https://github.com/ScrelliCopter/VGM-Tools
synced 2025-02-21 04:09:25 +11:00
neotools: adpcm-a partial rewrite
This commit is contained in:
14
neotools/adpcm.h
Normal file
14
neotools/adpcm.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef ADPCM_H
|
||||
#define ADPCM_H
|
||||
|
||||
typedef struct AdpcmADecoderState
|
||||
{
|
||||
int jediTable[49 * 16];
|
||||
int cursignal;
|
||||
int delta;
|
||||
} AdpcmADecoderState;
|
||||
|
||||
void adpcmAInit(AdpcmADecoderState* decoder);
|
||||
void adpcmADecode(AdpcmADecoderState* restrict decoder, char* restrict in, short* restrict out, int len);
|
||||
|
||||
#endif//ADPCM_H
|
||||
Reference in New Issue
Block a user