Home
last modified time | relevance | path

Searched refs:new_volume (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/
Dinput_volume_controller.cc87 int new_volume = input_volume; in ComputeVolumeUpdate() local
89 while (kGainMap[new_volume] - kGainMap[input_volume] < gain_error_db && in ComputeVolumeUpdate()
90 new_volume < kMaxInputVolume) { in ComputeVolumeUpdate()
91 ++new_volume; in ComputeVolumeUpdate()
94 while (kGainMap[new_volume] - kGainMap[input_volume] > gain_error_db && in ComputeVolumeUpdate()
95 new_volume > min_input_volume) { in ComputeVolumeUpdate()
96 --new_volume; in ComputeVolumeUpdate()
99 return new_volume; in ComputeVolumeUpdate()
257 void MonoInputVolumeController::SetInputVolume(int new_volume) { in SetInputVolume() argument
292 new_volume = std::min(new_volume, max_input_volume_); in SetInputVolume()
[all …]
Dclipping_predictor.cc40 int new_volume = input_volume; in ComputeVolumeUpdate() local
42 while (kGainMap[new_volume] - kGainMap[input_volume] < gain_error_db && in ComputeVolumeUpdate()
43 new_volume < max_input_volume) { in ComputeVolumeUpdate()
44 ++new_volume; in ComputeVolumeUpdate()
47 while (kGainMap[new_volume] - kGainMap[input_volume] > gain_error_db && in ComputeVolumeUpdate()
48 new_volume > min_input_volume) { in ComputeVolumeUpdate()
49 --new_volume; in ComputeVolumeUpdate()
52 return new_volume; in ComputeVolumeUpdate()
Dinput_volume_controller.h229 void SetInputVolume(int new_volume);
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc824 int new_volume = GetSpeakerVolume(); in TEST_F() local
825 EXPECT_EQ(new_volume, max_volume); in TEST_F()
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc827 int new_volume = GetSpeakerVolume(); in TEST_F() local
828 EXPECT_EQ(new_volume, max_volume); in TEST_F()