Home
last modified time | relevance | path

Searched refs:agcMode (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c447 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() argument
1359 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 …]
Ddigital_agc.h46 int16_t agcMode; member
55 int32_t WebRtcAgc_InitDigital(DigitalAgc* digitalAgcInst, int16_t agcMode);
Ddigital_agc.c259 int32_t WebRtcAgc_InitDigital(DigitalAgc* stt, int16_t agcMode) { in WebRtcAgc_InitDigital() argument
260 if (agcMode == kAgcModeFixedDigital) in WebRtcAgc_InitDigital()
272 stt->agcMode = agcMode; in WebRtcAgc_InitDigital()
372 if (stt->agcMode != kAgcModeFixedDigital) in WebRtcAgc_ProcessDigital()
Dgain_control.h249 int16_t agcMode,
Danalog_agc.h51 int16_t agcMode; // Hard coded mode (adaptAna/adaptDig/fixedDig) member
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc176 GainControl::Mode agcMode = kDefaultAgcMode; in SetAgcStatus() local
179 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() local
236 switch (agcMode) { in GetAgcStatus()
Dchannel.cc2652 GainControl::Mode agcMode = kDefaultRxAgcMode; in SetRxAgcStatus() local
2658 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() local
2703 switch (agcMode) in GetRxAgcStatus()