Searched refs:agcMode (Results 1 – 7 of 7) sorted by relevance
447 if (stt->agcMode == kAgcModeFixedDigital) in WebRtcAgc_UpdateAgcThresholds()682 if ((inMicLevelTmp < tmpVol) && (stt->agcMode == kAgcModeAdaptiveAnalog)) in WebRtcAgc_ProcessAnalog()1193 if (stt->agcMode < kAgcModeFixedDigital && in WebRtcAgc_Process()1194 (stt->lowLevelSignal == 0 || stt->agcMode != kAgcModeAdaptiveDigital)) in WebRtcAgc_Process()1262 if (stt->agcMode == kAgcModeFixedDigital) in WebRtcAgc_set_config()1349 int16_t agcMode, uint32_t fs) in WebRtcAgc_Init() argument1359 if (WebRtcAgc_InitDigital(&stt->digitalAgc, agcMode) != 0) in WebRtcAgc_Init()1377 if (agcMode < kAgcModeUnchanged || agcMode > kAgcModeFixedDigital) in WebRtcAgc_Init()1384 stt->agcMode = agcMode; in WebRtcAgc_Init()1405 if (stt->agcMode == kAgcModeAdaptiveDigital) in WebRtcAgc_Init()[all …]
46 int16_t agcMode; member55 int32_t WebRtcAgc_InitDigital(DigitalAgc* digitalAgcInst, int16_t agcMode);
259 int32_t WebRtcAgc_InitDigital(DigitalAgc* stt, int16_t agcMode) { in WebRtcAgc_InitDigital() argument260 if (agcMode == kAgcModeFixedDigital) in WebRtcAgc_InitDigital()272 stt->agcMode = agcMode; in WebRtcAgc_InitDigital()372 if (stt->agcMode != kAgcModeFixedDigital) in WebRtcAgc_ProcessDigital()
249 int16_t agcMode,
51 int16_t agcMode; // Hard coded mode (adaptAna/adaptDig/fixedDig) member
176 GainControl::Mode agcMode = kDefaultAgcMode; in SetAgcStatus() local179 agcMode = kDefaultAgcMode; in SetAgcStatus()182 agcMode = _shared->audio_processing()->gain_control()->mode(); in SetAgcStatus()185 agcMode = GainControl::kFixedDigital; in SetAgcStatus()188 agcMode = GainControl::kAdaptiveAnalog; in SetAgcStatus()191 agcMode = GainControl::kAdaptiveDigital; in SetAgcStatus()195 if (_shared->audio_processing()->gain_control()->set_mode(agcMode) != 0) { in SetAgcStatus()206 if (agcMode != GainControl::kFixedDigital) { in SetAgcStatus()233 GainControl::Mode agcMode = in GetAgcStatus() local236 switch (agcMode) { in GetAgcStatus()
2652 GainControl::Mode agcMode = kDefaultRxAgcMode; in SetRxAgcStatus() local2658 agcMode = rx_audioproc_->gain_control()->mode(); in SetRxAgcStatus()2661 agcMode = GainControl::kFixedDigital; in SetRxAgcStatus()2664 agcMode =GainControl::kAdaptiveDigital; in SetRxAgcStatus()2673 if (rx_audioproc_->gain_control()->set_mode(agcMode) != 0) in SetRxAgcStatus()2698 GainControl::Mode agcMode = in GetRxAgcStatus() local2703 switch (agcMode) in GetRxAgcStatus()