Home
last modified time | relevance | path

Searched refs:max_volume (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc633 uint32_t max_volume; in SetMaxPlayoutVolume() local
634 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in SetMaxPlayoutVolume()
635 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in SetMaxPlayoutVolume()
674 uint32_t max_volume(0); in GetMaxSpeakerVolume() local
675 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in GetMaxSpeakerVolume()
676 return max_volume; in GetMaxSpeakerVolume()
818 const int max_volume = GetMaxSpeakerVolume(); in TEST_F() local
819 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in TEST_F()
821 EXPECT_EQ(new_volume, max_volume); in TEST_F()
Daudio_track_jni.cc176 int AudioTrackJni::MaxSpeakerVolume(uint32_t& max_volume) const { in MaxSpeakerVolume()
179 max_volume = j_audio_track_->GetStreamMaxVolume(); in MaxSpeakerVolume()
Daudio_track_jni.h81 int MaxSpeakerVolume(uint32_t& max_volume) const;
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.cc708 uint32_t max_volume = 0; in ProcessRecordedDataWithAPM() local
714 if (shared_->audio_device()->MaxMicrophoneVolume(&max_volume) == 0) { in ProcessRecordedDataWithAPM()
715 if (max_volume) { in ProcessRecordedDataWithAPM()
717 (volume * kMaxVolumeLevel + static_cast<int>(max_volume / 2)) / in ProcessRecordedDataWithAPM()
718 max_volume); in ProcessRecordedDataWithAPM()
728 max_volume = volume; in ProcessRecordedDataWithAPM()
758 return static_cast<int>((new_voe_mic_level * max_volume + in ProcessRecordedDataWithAPM()
/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py331 max_volume = _max_volume(self.sample_width)
332 peak_min = max_volume * peak_percent_min / 100
333 peak_max = max_volume * peak_percent_max / 100
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.h136 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override;
143 int32_t MaxMicrophoneVolume(uint32_t* max_volume) const override;
Dfakeaudiocapturemodule.cc383 uint32_t* max_volume) const { in MaxMicrophoneVolume()
384 *max_volume = kMaxVolume; in MaxMicrophoneVolume()