#ifndef __AUD_RESAMPLE_H__ #define __AUD_RESAMPLE_H__ typedef enum { rate_8k = 8000, rate_16k = 16000, rate_32k = 32000, rate_48k = 48000, rate_96k = 96000 }smpRate; //ÖØ²ÉÑùËã·¨²ÎÊý³õʼ»¯£¬int srcSmpRate£¬Ô´²ÉÑùÂÊ£¬int dstSmpRate£¬Ä¿µÄ²ÉÑùÂÊ£¬ void* alg_resample_create(int srcSmpRate, int dstSmpRate, int frameLen); int alg_resample_process(void *handle, const float *dataIn, float *dataOut); void alg_resample_destroy(void *handle); #endif