00001 /* 00002 ** adpcm.h - include file for adpcm coder. 00003 ** 00004 ** Version 1.0, 7-Jul-92. 00005 */ 00006 00007 struct adpcm_state { 00008 short valprev; /* Previous output value */ 00009 char index; /* Index into stepsize table */ 00010 }; 00011 00012 #ifdef __STDC__ 00013 #define ARGS(x) x 00014 #else 00015 #define ARGS(x) () 00016 #endif 00017 00018 void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *)); 00019 void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *));
1.4.2