Searched refs:new_volume (Results 1 – 5 of 5) sorted by relevance
87 int new_volume = input_volume; in ComputeVolumeUpdate() local89 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() argument292 new_volume = std::min(new_volume, max_input_volume_); in SetInputVolume()[all …]
40 int new_volume = input_volume; in ComputeVolumeUpdate() local42 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()
229 void SetInputVolume(int new_volume);
824 int new_volume = GetSpeakerVolume(); in TEST_F() local825 EXPECT_EQ(new_volume, max_volume); in TEST_F()
827 int new_volume = GetSpeakerVolume(); in TEST_F() local828 EXPECT_EQ(new_volume, max_volume); in TEST_F()