/* 
** 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 */ 
}__attribute__((packed)); 

typedef struct adpcm_state adpcm_state_t;

int adpcm_coder(short [], char [], int, struct adpcm_state *); 
