Searched refs:agcConfig (Results 1 – 1 of 1) sorted by relevance
1233 int WebRtcAgc_set_config(void* agcInst, WebRtcAgcConfig agcConfig) { in WebRtcAgc_set_config() argument1248 if (agcConfig.limiterEnable != kAgcFalse && agcConfig.limiterEnable != kAgcTrue) in WebRtcAgc_set_config()1253 stt->limiterEnable = agcConfig.limiterEnable; in WebRtcAgc_set_config()1254 stt->compressionGaindB = agcConfig.compressionGaindB; in WebRtcAgc_set_config()1255 if ((agcConfig.targetLevelDbfs < 0) || (agcConfig.targetLevelDbfs > 31)) in WebRtcAgc_set_config()1260 stt->targetLevelDbfs = agcConfig.targetLevelDbfs; in WebRtcAgc_set_config()1265 stt->compressionGaindB += agcConfig.targetLevelDbfs; in WebRtcAgc_set_config()1283 stt->usedConfig.compressionGaindB = agcConfig.compressionGaindB; in WebRtcAgc_set_config()1284 stt->usedConfig.limiterEnable = agcConfig.limiterEnable; in WebRtcAgc_set_config()1285 stt->usedConfig.targetLevelDbfs = agcConfig.targetLevelDbfs; in WebRtcAgc_set_config()