Home
last modified time | relevance | path

Searched refs:apm_config (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/test/fuzzers/
Daudio_processing_configs_fuzzer.cc120 webrtc::AudioProcessing::Config apm_config; in CreateApm() local
121 apm_config.pipeline.multi_channel_render = true; in CreateApm()
122 apm_config.pipeline.multi_channel_capture = true; in CreateApm()
123 apm_config.echo_canceller.enabled = use_aec || use_aecm; in CreateApm()
124 apm_config.echo_canceller.mobile_mode = use_aecm; in CreateApm()
125 apm_config.residual_echo_detector.enabled = red; in CreateApm()
126 apm_config.high_pass_filter.enabled = hpf; in CreateApm()
127 apm_config.gain_controller1.enabled = use_agc; in CreateApm()
128 apm_config.gain_controller1.enable_limiter = use_agc_limiter; in CreateApm()
129 apm_config.gain_controller2.enabled = use_agc2; in CreateApm()
[all …]
/external/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc56 const AudioProcessing::Config& apm_config);
151 const AudioProcessing::Config& apm_config) in DebugDumpGenerator() argument
160 apm_config.pre_amplifier.enabled) { in DebugDumpGenerator()
161 apm_->ApplyConfig(apm_config); in DebugDumpGenerator()
345 AudioProcessing::Config apm_config; in TEST_F() local
346 apm_config.echo_canceller.enabled = true; in TEST_F()
347 DebugDumpGenerator generator(config, apm_config); in TEST_F()
351 apm_config.echo_canceller.enabled = false; in TEST_F()
352 generator.apm()->ApplyConfig(apm_config); in TEST_F()
361 AudioProcessing::Config apm_config; in TEST_F() local
[all …]
Daudio_processing_simulator.cc424 AudioProcessing::Config apm_config; in ConfigureAudioProcessor() local
426 apm_config.transient_suppression.enabled = *settings_.use_ts; in ConfigureAudioProcessor()
429 apm_config.pipeline.multi_channel_render = *settings_.multi_channel_render; in ConfigureAudioProcessor()
433 apm_config.pipeline.multi_channel_capture = in ConfigureAudioProcessor()
438 apm_config.gain_controller2.enabled = *settings_.use_agc2; in ConfigureAudioProcessor()
440 apm_config.gain_controller2.fixed_digital.gain_db = in ConfigureAudioProcessor()
444 apm_config.gain_controller2.adaptive_digital.enabled = in ConfigureAudioProcessor()
446 apm_config.gain_controller2.adaptive_digital.level_estimator = in ConfigureAudioProcessor()
451 apm_config.pre_amplifier.enabled = *settings_.use_pre_amplifier; in ConfigureAudioProcessor()
453 apm_config.pre_amplifier.fixed_gain_factor = in ConfigureAudioProcessor()
[all …]
Ddebug_dump_replayer.cc194 AudioProcessing::Config apm_config; in ConfigureApm() local
199 apm_config.echo_canceller.enabled = msg.aec_enabled() || msg.aecm_enabled(); in ConfigureApm()
200 apm_config.echo_canceller.mobile_mode = msg.aecm_enabled(); in ConfigureApm()
204 apm_config.high_pass_filter.enabled = msg.hpf_enabled(); in ConfigureApm()
208 apm_config.pre_amplifier.enabled = msg.pre_amplifier_enabled(); in ConfigureApm()
209 apm_config.pre_amplifier.fixed_gain_factor = in ConfigureApm()
215 apm_config.noise_suppression.enabled = msg.ns_enabled(); in ConfigureApm()
216 apm_config.noise_suppression.level = in ConfigureApm()
222 apm_config.transient_suppression.enabled = in ConfigureApm()
229 apm_config.gain_controller1.enabled = msg.agc_enabled(); in ConfigureApm()
[all …]
Daec_dump_based_simulator.cc291 AudioProcessing::Config apm_config = ap_->GetConfig(); in HandleMessage() local
295 apm_config.echo_canceller.enabled = enable; in HandleMessage()
305 apm_config.echo_canceller.enabled |= enable; in HandleMessage()
306 apm_config.echo_canceller.mobile_mode = enable; in HandleMessage()
327 apm_config.gain_controller1.enabled = enable; in HandleMessage()
336 apm_config.gain_controller1.mode = in HandleMessage()
347 apm_config.gain_controller1.enable_limiter = enable; in HandleMessage()
356 apm_config.gain_controller2.enabled = enable; in HandleMessage()
358 apm_config.gain_controller2.fixed_digital.gain_db = in HandleMessage()
368 apm_config.gain_controller1.analog_gain_controller.enabled = in HandleMessage()
[all …]
/external/webrtc/modules/audio_processing/
Daudio_processing_performance_unittest.cc450 AudioProcessing::Config apm_config = apm->GetConfig(); in SetUp() local
451 apm_config.echo_canceller.enabled = true; in SetUp()
452 apm_config.echo_canceller.mobile_mode = false; in SetUp()
453 apm_config.noise_suppression.enabled = true; in SetUp()
454 apm_config.gain_controller1.enabled = true; in SetUp()
455 apm_config.gain_controller1.mode = in SetUp()
457 apm_config.level_estimation.enabled = true; in SetUp()
458 apm_config.voice_detection.enabled = true; in SetUp()
459 apm->ApplyConfig(apm_config); in SetUp()
464 AudioProcessing::Config apm_config = apm->GetConfig(); in SetUp() local
[all …]
Daudio_processing_impl_unittest.cc176 webrtc::AudioProcessing::Config apm_config; in TEST() local
177 apm_config.pre_amplifier.enabled = true; in TEST()
178 apm_config.pre_amplifier.fixed_gain_factor = 1.f; in TEST()
179 apm->ApplyConfig(apm_config); in TEST()
217 webrtc::AudioProcessing::Config apm_config; in TEST() local
218 apm_config.gain_controller1.enabled = false; in TEST()
219 apm_config.gain_controller2.enabled = false; in TEST()
220 apm_config.pre_amplifier.enabled = true; in TEST()
221 apm_config.pre_amplifier.fixed_gain_factor = 1.f; in TEST()
222 apm->ApplyConfig(apm_config); in TEST()
[all …]
Daudio_processing_unittest.cc188 AudioProcessing::Config apm_config = ap->GetConfig(); in EnableAllAPComponents() local
189 apm_config.echo_canceller.enabled = true; in EnableAllAPComponents()
191 apm_config.echo_canceller.mobile_mode = true; in EnableAllAPComponents()
193 apm_config.gain_controller1.enabled = true; in EnableAllAPComponents()
194 apm_config.gain_controller1.mode = in EnableAllAPComponents()
197 apm_config.echo_canceller.mobile_mode = false; in EnableAllAPComponents()
199 apm_config.gain_controller1.enabled = true; in EnableAllAPComponents()
200 apm_config.gain_controller1.mode = in EnableAllAPComponents()
202 apm_config.gain_controller1.analog_level_minimum = 0; in EnableAllAPComponents()
203 apm_config.gain_controller1.analog_level_maximum = 255; in EnableAllAPComponents()
[all …]
Daudio_processing_impl_locking_unittest.cc535 AudioProcessing::Config apm_config = apm_->GetConfig(); in SetUp() local
536 apm_config.echo_canceller.enabled = in SetUp()
538 apm_config.echo_canceller.mobile_mode = in SetUp()
540 apm_config.gain_controller1.enabled = true; in SetUp()
541 apm_config.gain_controller1.mode = in SetUp()
543 apm_config.noise_suppression.enabled = true; in SetUp()
544 apm_config.voice_detection.enabled = true; in SetUp()
545 apm_config.level_estimation.enabled = true; in SetUp()
546 apm_->ApplyConfig(apm_config); in SetUp()
567 AudioProcessing::Config apm_config = apm_->GetConfig(); in Process() local
[all …]
Daudio_processing_impl.cc1922 InternalAPMConfig apm_config; in WriteAecDumpConfigMessage() local
1924 apm_config.aec_enabled = config_.echo_canceller.enabled; in WriteAecDumpConfigMessage()
1925 apm_config.aec_delay_agnostic_enabled = false; in WriteAecDumpConfigMessage()
1926 apm_config.aec_extended_filter_enabled = false; in WriteAecDumpConfigMessage()
1927 apm_config.aec_suppression_level = 0; in WriteAecDumpConfigMessage()
1929 apm_config.aecm_enabled = !!submodules_.echo_control_mobile; in WriteAecDumpConfigMessage()
1930 apm_config.aecm_comfort_noise_enabled = in WriteAecDumpConfigMessage()
1933 apm_config.aecm_routing_mode = in WriteAecDumpConfigMessage()
1938 apm_config.agc_enabled = !!submodules_.gain_control; in WriteAecDumpConfigMessage()
1940 apm_config.agc_mode = submodules_.gain_control in WriteAecDumpConfigMessage()
[all …]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dexport.py181 for apm_config in apm_configs:
182 html.append('<tr><td>' + self._FormatName(apm_config[0]) + '</td>')
185 score_name, apm_config[0], test_data_gen_info[0],
191 apm_config[0])))
204 test_data_gen_params, apm_config): argument
207 score_name, apm_config, test_data_gen, test_data_gen_params)
212 score_name + test_data_gen + test_data_gen_params + apm_config)
236 for apm_config in apm_configs:
239 score_name, apm_config[0],
249 self._FormatName(apm_config[0]),
[all …]
/external/webrtc/modules/audio_processing/aec_dump/
Daec_dump_unittest.cc47 webrtc::InternalAPMConfig apm_config; in TEST() local
48 aec_dump->WriteConfig(apm_config); in TEST()
/external/webrtc/audio/voip/
Dvoip_core.cc55 AudioProcessing::Config apm_config = audio_processing_->GetConfig(); in Init() local
56 apm_config.echo_canceller.enabled = true; in Init()
57 audio_processing_->ApplyConfig(apm_config); in Init()
/external/webrtc/media/engine/
Dwebrtc_voice_engine.cc529 webrtc::AudioProcessing::Config apm_config = ap->GetConfig(); in ApplyOptions() local
532 apm_config.echo_canceller.enabled = *options.echo_cancellation; in ApplyOptions()
533 apm_config.echo_canceller.mobile_mode = use_mobile_software_aec; in ApplyOptions()
538 apm_config.gain_controller1.enabled = enabled; in ApplyOptions()
540 apm_config.gain_controller1.mode = in ApplyOptions()
541 apm_config.gain_controller1.kFixedDigital; in ApplyOptions()
543 apm_config.gain_controller1.mode = in ApplyOptions()
544 apm_config.gain_controller1.kAdaptiveAnalog; in ApplyOptions()
548 apm_config.gain_controller1.analog_level_minimum = kMinVolumeLevel; in ApplyOptions()
549 apm_config.gain_controller1.analog_level_maximum = kMaxVolumeLevel; in ApplyOptions()
[all …]
Dwebrtc_voice_engine_unittest.cc154 webrtc::AudioProcessing::Config apm_config; in TEST() local
156 EXPECT_CALL(*apm, GetConfig()).WillRepeatedly(ReturnPointee(&apm_config)); in TEST()
157 EXPECT_CALL(*apm, ApplyConfig(_)).WillRepeatedly(SaveArg<0>(&apm_config)); in TEST()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/
Dapm_quality_assessment_boxplot.py80 data_with_config = data_frame[data_frame.apm_config == config_name]
Dapm_quality_assessment_optimize.py93 data_cell = data_frame[data_frame.apm_config == config_name]
/external/adhd/cras/src/tests/
Dapm_list_unittest.cc399 struct apm_config* apm_config_get(const char* device_config_dir) { in apm_config_get()
402 void apm_config_dump(struct apm_config* config) {} in apm_config_dump()