我给你提供一个,已经传到我的资源里了,你去下载吧.下面是头文件里的代码:
/*----------------------------------------------------------------------------
; 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);