22 lines
433 B
C
22 lines
433 B
C
|
/*
|
||
|
** adpcm.h - include file for adpcm coder.
|
||
|
**
|
||
|
** Version 1.0, 7-Jul-92.
|
||
|
*/
|
||
|
|
||
|
struct adpcm_state {
|
||
|
short valprev; /* Previous output value */
|
||
|
char index; /* Index into stepsize table */
|
||
|
};
|
||
|
|
||
|
#ifdef __STDC__
|
||
|
#define ARGS(x) x
|
||
|
#else
|
||
|
#define ARGS(x) ()
|
||
|
#endif
|
||
|
|
||
|
#if 0
|
||
|
void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *));
|
||
|
void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *));
|
||
|
#endif
|