Searched refs:max_volume (Results 1 – 7 of 7) sorted by relevance
633 uint32_t max_volume; in SetMaxPlayoutVolume() local634 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() local675 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() local819 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in TEST_F()821 EXPECT_EQ(new_volume, max_volume); in TEST_F()
176 int AudioTrackJni::MaxSpeakerVolume(uint32_t& max_volume) const { in MaxSpeakerVolume()179 max_volume = j_audio_track_->GetStreamMaxVolume(); in MaxSpeakerVolume()
81 int MaxSpeakerVolume(uint32_t& max_volume) const;
708 uint32_t max_volume = 0; in ProcessRecordedDataWithAPM() local714 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()
331 max_volume = _max_volume(self.sample_width)332 peak_min = max_volume * peak_percent_min / 100333 peak_max = max_volume * peak_percent_max / 100
136 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override;143 int32_t MaxMicrophoneVolume(uint32_t* max_volume) const override;
383 uint32_t* max_volume) const { in MaxMicrophoneVolume()384 *max_volume = kMaxVolume; in MaxMicrophoneVolume()