文件名称:GSM的AMR语音CODECS
文件大小:965KB
文件格式:RAR
更新时间:2012-01-16 02:55:57
GSM AMR CODECS
GSM的AMR语音CODECS. /*---------------------------------------------------------------------------- ; GLOBAL FUNCTION DEFINITIONS ----------------------------------------------------------------------------*/ /* * This function allocates memory for filter structure and initializes state * memory used by the GSM AMR decoder. This function returns zero. It will * return negative one if there is an error. */ Word16 GSMInitDecode(void **state_data, Word8 *id); /* * AMRDecode steps into the part of the library that decodes the raw data * speech bits for the decoding process. It returns the address offset of * the next frame to be decoded. */ Word16 AMRDecode( void *state_data, enum Frame_Type_3GPP frame_type, UWord8 *speech_bits_ptr, Word16 *raw_pcm_buffer, Word16 input_format ); /* * This function resets the state memory used by the GSM AMR decoder. This * function returns zero. It will return negative one if there is an error. */ Word16 Speech_Decode_Frame_reset(void *state_data); /* * This function frees up the memory used for the state memory of the * GSM AMR decoder. */ void GSMDecodeFrameExit(void **state_data);