Searched refs:gain_db (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | agc_unittest.cc | 53 void RunAgc(int iterations, float gain_db) { in RunAgc() argument 64 float gain = Db2Linear(gain_db); in RunAgc() 65 if (gain_db <= -100) { in RunAgc()
|
/external/webrtc/webrtc/tools/agc/ |
D | test_utils.cc | 43 void ApplyGain(float gain_db, float last_gain_db, AudioFrame* frame) { in ApplyGain() argument 44 ApplyGainLinear(Db2Linear(gain_db), Db2Linear(last_gain_db), frame); in ApplyGain()
|
D | test_utils.h | 20 void ApplyGain(float gain_db, float last_gain_db, AudioFrame* frame);
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 1166 int gain_db[] = {0, 10, 90}; in TEST_F() local 1167 for (size_t i = 0; i < arraysize(gain_db); i++) { in TEST_F() 1169 apm_->gain_control()->set_compression_gain_db(gain_db[i])); in TEST_F() 1170 EXPECT_EQ(gain_db[i], apm_->gain_control()->compression_gain_db()); in TEST_F()
|