Home
last modified time | relevance | path

Searched refs:kMaxVolumeLevel (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/voice_engine/
Dvoe_volume_control_impl.cc57 if (volume > kMaxVolumeLevel) { in SetSpeakerVolume()
73 spkrVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / in SetSpeakerVolume()
74 (kMaxVolumeLevel)); in SetSpeakerVolume()
110 (uint32_t)((spkrVol * kMaxVolumeLevel + (int)(maxVol / 2)) / (maxVol)); in GetSpeakerVolume()
123 if (volume > kMaxVolumeLevel) { in SetMicVolume()
139 if (volume == kMaxVolumeLevel) { in SetMicVolume()
155 micVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / in SetMicVolume()
156 (kMaxVolumeLevel)); in SetMicVolume()
191 (uint32_t)((micVol * kMaxVolumeLevel + (int)(maxVol / 2)) / (maxVol)); in GetMicVolume()
194 volume = kMaxVolumeLevel; in GetMicVolume()
Dvoe_base_impl.cc355 if (agc->set_analog_level_limits(kMinVolumeLevel, kMaxVolumeLevel) != 0) { in Init()
357 << kMinVolumeLevel << " and maximum: " << kMaxVolumeLevel; in Init()
717 (volume * kMaxVolumeLevel + static_cast<int>(max_volume / 2)) / in ProcessRecordedDataWithAPM()
726 if (voe_mic_level > kMaxVolumeLevel) { in ProcessRecordedDataWithAPM()
727 voe_mic_level = kMaxVolumeLevel; in ProcessRecordedDataWithAPM()
759 static_cast<int>(kMaxVolumeLevel / 2)) / in ProcessRecordedDataWithAPM()
760 kMaxVolumeLevel); in ProcessRecordedDataWithAPM()
Dvoice_engine_defines.h35 enum { kMaxVolumeLevel = 255 }; enumerator