qipp
2025-09-16 e7ac407a6aa40e94a34a772dee14e8d5fb55c45b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**********************************************************************
 
      
**********************************************************************/
 
#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