webrtc的自动增益模块在agc_legacy_c工程下:
analog_agc.c analog_agc.h digital_agc.c digital_agc.h gain_control.h
主要函数包括:
WebRtcAgc_AddMic
WebRtcAgc_AddFarend
WebRtcAgc_GetAddFarendError
WebRtcAgc_VirtualMic
WebRtcAgc_UpdateAgcThresholds
WebRtcAgc_SaturationCtrl
WebRtcAgc_ZeroCtrl
WebRtcAgc_SpeakerInactiveCtrl
WebRtcAgc_ExpCurve
WebRtcAgc_ProcessAnalog
WebRtcAgc_Process
WebRtcAgc_set_config
WebRtcAgc_get_config
WebRtcAgc_Create
WebRtcAgc_Free
WebRtcAgc_Init
WebRtcAgc_CalculateGainTable
WebRtcAgc_InitDigital
WebRtcAgc_AddFarendToDigital
WebRtcAgc_ProcessDigital
WebRtcAgc_InitVad
WebRtcAgc_ProcessVad
核心函数介绍:WebRtcAgc_Init
/* minLevel - Minimum volume level
* maxLevel - Maximum volume level
*/
int WebRtcAgc_Init(void* agcInst,