Searched defs:max_volume (Results 1 - 2 of 2) sorted by relevance

/external/webrtc/webrtc/voice_engine/
H A Dvoe_base_impl.cc708 uint32_t max_volume = 0; local
714 if (shared_->audio_device()->MaxMicrophoneVolume(&max_volume) == 0) {
715 if (max_volume) {
717 (volume * kMaxVolumeLevel + static_cast<int>(max_volume / 2)) /
718 max_volume);
728 max_volume = volume;
758 return static_cast<int>((new_voe_mic_level * max_volume +
/external/webrtc/webrtc/modules/audio_device/android/
H A Daudio_device_unittest.cc633 uint32_t max_volume;
634 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume));
635 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume));
674 uint32_t max_volume(0);
675 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume));
676 return max_volume;
818 const int max_volume = GetMaxSpeakerVolume(); local
819 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume));
821 EXPECT_EQ(new_volume, max_volume);

Completed in 203 milliseconds