/********************************************************************** **********************************************************************/ #ifndef _LIBALG_AGC_H__ #define _LIBALG_AGC_H__ void* alg_agc_create( int sampleRate, int frameLen); void alg_agc_destroy(void * handle); void alg_agc_set_param(void * handle, float threshold, float targetLevel, float ratio, int attackTime, int releaseTime); int alg_agc_process(void * handle, const float *dataIn, float *dataOut); float alg_agc_input_level(void * handle); float alg_agc_output_level(void * handle); #endif