2
* ===================================================================
6
* 3GPP AMR Floating-point Speech Codec
7
* ===================================================================
16
* AMR Floating-Point Codec
19
* Defines interface to AMR encoder
23
#ifndef _interf_enc_h_
24
#define _interf_enc_h_
35
* Encodes one frame of speech
36
* Returns packed octets
38
int Encoder_Interface_Encode( void *st, enum Mode mode, short *speech,
41
unsigned char *serial, /* max size 31 bytes */
44
short *serial, /* size 500 bytes */
47
int forceSpeech ); /* use speech mode */
50
* Reserve and init. memory
52
void *Encoder_Interface_init( int dtx );
55
* Exit and free memory
57
void Encoder_Interface_exit( void *state );