Diffstat (limited to 'noncore/multimedia/opierec/adpcm.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/adpcm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/multimedia/opierec/adpcm.h b/noncore/multimedia/opierec/adpcm.h new file mode 100644 index 0000000..9c17ffa --- a/dev/null +++ b/noncore/multimedia/opierec/adpcm.h @@ -0,0 +1,19 @@ +/* +** 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 + +void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *)); +void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *)); |