Searched refs:kMaxVolumeLevel (Results 1 – 3 of 3) sorted by relevance
57 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()
355 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()
35 enum { kMaxVolumeLevel = 255 }; enumerator