#ifndef SPEECH_API_H
#define SPEECH_API_H


#ifdef __cplusplus
extern "C" {
#endif

short speech_encoder_get_size();
void speech_encoder_init(void *enc, short Fs);
short speech_encode(void *st,  short * pcm, short frame_size, unsigned char *data, short len);


short speech_decoder_get_size();
void speech_decoder_init(void *dec, short Fs);
short speech_decode(void *st, unsigned char *data, short len, short *pcm, short frame_size, short plc_frame);

#ifdef __cplusplus
}
#endif

#endif /* SPEECH_API_H */
