Home
last modified time | relevance | path

Searched refs:DbToRatio (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dadaptive_digital_gain_applier_unittest.cc87 EXPECT_NEAR(applied_gain, DbToRatio(-kHeadroomDbfs - initial_level_dbfs), in TEST()
103 EXPECT_NEAR(applied_gain, DbToRatio(kMaxGainDb), 0.1f); in TEST()
118 const float kMaxChangePerFrameLinear = DbToRatio(kMaxGainChangePerFrameDb); in TEST()
159 float current_value = 1.f * DbToRatio(kInitialAdaptiveDigitalGainDb); in TEST()
166 const float kMaxChangePerFrameLinear = DbToRatio(kMaxGainChangePerFrameDb); in TEST()
Dadaptive_digital_gain_applier.cc94 : gain_applier_(false, DbToRatio(last_gain_db_)), in AdaptiveDigitalGainApplier()
138 DbToRatio(last_gain_db_ + gain_change_this_frame_db)); in Process()
Dfixed_gain_controller.cc54 gain_to_apply_ = DbToRatio(gain_to_apply_db); in SetGain()
/external/webrtc/common_audio/include/
Daudio_util.h73 inline float DbToRatio(float v) { in DbToRatio() function
79 return DbToRatio(v) * kMaximumAbsFloatS16; in DbfsToFloatS16()
/external/webrtc/modules/audio_processing/
Dgain_controller2.cc77 gain_applier_.SetGainFactor(DbToRatio(config_.fixed_digital.gain_db)); in ApplyConfig()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dsound_level.cc35 const double kOneDbReduction = DbToRatio(-1.0);
/external/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator_unittest.cc84 DbToRatio(-static_cast<float>(attenuation)); in TestAmplitudes()
/external/webrtc/modules/audio_processing/test/
Dfake_recording_device.cc103 return DbToRatio(kGainMap[mic_level] - kGainMap[undo_level]); in ComputeAgc1LinearFactor()
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dsimulator.cc164 const float gain_linear = DbToRatio(gain); in ScaleSignal()