Searched refs:gain_db (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/modules/audio_processing/ |
D | gain_controller2.cc | 72 if (config.fixed_digital.gain_db != config_.fixed_digital.gain_db) { in ApplyConfig() 77 gain_applier_.SetGainFactor(DbToRatio(config_.fixed_digital.gain_db)); in ApplyConfig() 87 return config.fixed_digital.gain_db >= 0.f && in Validate() 88 config.fixed_digital.gain_db < 50.f && in Validate() 111 "fixed_digital: {gain_db: " << config.fixed_digital.gain_db << "}, " in ToString()
|
D | gain_controller2_unittest.cc | 56 config.fixed_digital.gain_db = fixed_gain_db; in CreateAgc2FixedDigitalModeConfig() 117 config.fixed_digital.gain_db = -5.f; in TEST() 122 config.fixed_digital.gain_db = fixed_gain_db; in TEST() 217 for (const auto gain_db : gains_db) { in TEST_P() local 218 SCOPED_TRACE(std::to_string(gain_db)); in TEST_P() 219 auto agc2_fixed = CreateAgc2FixedDigitalMode(gain_db, params.sample_rate); in TEST_P() 264 config.fixed_digital.gain_db = 0.f; in TEST() 278 config.fixed_digital.gain_db = 0.f; in TEST()
|
D | audio_processing_impl.cc | 848 config_.gain_controller2.fixed_digital.gain_db = value; in HandleCaptureRuntimeSettings()
|
/external/webrtc/modules/audio_processing/include/ |
D | audio_processing.h | 343 float gain_db = 0.f; member 406 static RuntimeSetting CreateCompressionGainDb(int gain_db) { in CreateCompressionGainDb() argument 407 RTC_DCHECK_GE(gain_db, 0); in CreateCompressionGainDb() 408 RTC_DCHECK_LE(gain_db, 90); in CreateCompressionGainDb() 409 return {Type::kCaptureCompressionGain, static_cast<float>(gain_db)}; in CreateCompressionGainDb() 414 static RuntimeSetting CreateCaptureFixedPostGain(float gain_db) { in CreateCaptureFixedPostGain() argument 415 RTC_DCHECK_GE(gain_db, 0.f); in CreateCaptureFixedPostGain() 416 RTC_DCHECK_LE(gain_db, 90.f); in CreateCaptureFixedPostGain() 417 return {Type::kCaptureFixedPostGain, gain_db}; in CreateCaptureFixedPostGain()
|
D | audio_processing.cc | 108 << gain_controller2.fixed_digital.gain_db in ToString()
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | signal_processing.py | 338 gain_db = signal_power - noise_power - target_snr 344 return signal.overlay(noise.apply_gain(gain_db)) 348 return noise.overlay(signal, gain_during_overlay=gain_db) 351 return signal.overlay(noise.apply_gain(gain_db)) 354 return signal.overlay(noise.apply_gain(gain_db), loop=True)
|
/external/webrtc/test/fuzzers/ |
D | audio_processing_configs_fuzzer.cc | 130 apm_config.gain_controller2.fixed_digital.gain_db = gain_controller2_gain_db; in CreateApm()
|
/external/adhd/cras/src/dsp/ |
D | drc_kernel.c | 540 float gain_db = linear_to_decibels(gain); in dk_update_detector_average() local 542 gain_db * sat_release_frames_inv_neg; in dk_update_detector_average()
|
/external/webrtc/modules/audio_processing/test/ |
D | audio_processing_simulator.cc | 440 apm_config.gain_controller2.fixed_digital.gain_db = in ConfigureAudioProcessor()
|
D | aec_dump_based_simulator.cc | 358 apm_config.gain_controller2.fixed_digital.gain_db = in HandleMessage()
|