Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.cc228 uint32_t maxVolume(0); in RecordedDataIsAvailable() local
232 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); in RecordedDataIsAvailable()
241 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
243 if (volume > maxVolume) in RecordedDataIsAvailable()
254 uint32_t maxVolume(0); in RecordedDataIsAvailable() local
257 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); in RecordedDataIsAvailable()
266 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
268 if (newMicLevel > maxVolume) in RecordedDataIsAvailable()
504 uint32_t maxVolume(0); in NeedMorePlayData() local
508 EXPECT_EQ(0, _audioDevice->MaxSpeakerVolume(&maxVolume)); in NeedMorePlayData()
[all …]
Daudio_device_test_api.cc881 uint32_t maxVolume(0); in TEST_F() local
891 EXPECT_EQ(-1, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F()
915 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F()
918 for (vol = minVolume; vol < (int)maxVolume; vol += 20*stepSize) { in TEST_F()
931 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F()
934 uint32_t step = (maxVolume - minVolume) / 10; in TEST_F()
936 for (vol = minVolume; vol <= maxVolume; vol += step) { in TEST_F()
950 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F()
953 uint32_t step = (maxVolume - minVolume) / 10; in TEST_F()
955 for (vol = minVolume; vol <= maxVolume; vol += step) { in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.h28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
46 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_mixer_manager_mac.cc334 int32_t AudioMixerManagerMac::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume()
343 maxVolume = 255; in MaxSpeakerVolume()
956 int32_t AudioMixerManagerMac::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
965 maxVolume = 255; in MaxMicrophoneVolume()
Daudio_device_mac.h126 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
134 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.h31 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
47 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_mixer_manager_pulse_linux.h39 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
57 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_mixer_manager_pulse_linux.cc339 AudioMixerManagerLinuxPulse::MaxSpeakerVolume(uint32_t& maxVolume) const in MaxSpeakerVolume()
351 maxVolume = static_cast<uint32_t> (PA_VOLUME_NORM); in MaxSpeakerVolume()
897 AudioMixerManagerLinuxPulse::MaxMicrophoneVolume(uint32_t& maxVolume) const in MaxMicrophoneVolume()
910 maxVolume = static_cast<uint32_t> (PA_VOLUME_NORM); in MaxMicrophoneVolume()
Daudio_device_alsa_linux.h100 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
108 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
Daudio_mixer_manager_alsa_linux.cc439 uint32_t& maxVolume) const in MaxSpeakerVolume()
467 maxVolume = static_cast<uint32_t> (maxVol); in MaxSpeakerVolume()
1051 uint32_t& maxVolume) const in MaxMicrophoneVolume()
1086 maxVolume = static_cast<uint32_t> (maxVol); in MaxMicrophoneVolume()
Daudio_device_pulse_linux.h162 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
170 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_template.h256 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override { in MaxSpeakerVolume() argument
257 return output_.MaxSpeakerVolume(maxVolume); in MaxSpeakerVolume()
285 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override { in MaxMicrophoneVolume() argument
Dopensles_player.h79 int MaxSpeakerVolume(uint32_t& maxVolume) const;
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_mixer_manager_win.h58 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
74 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_device_wave_win.h107 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
115 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
/external/webrtc/webrtc/modules/audio_device/dummy/
Daudio_device_dummy.h87 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
95 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
Daudio_device_dummy.cc110 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume()
132 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
Dfile_audio_device.h107 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
115 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_generic.h84 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const = 0;
92 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const = 0;
Daudio_device_impl.cc703 int32_t AudioDeviceModuleImpl::MaxSpeakerVolume(uint32_t* maxVolume) const in MaxSpeakerVolume()
714 *maxVolume = maxVol; in MaxSpeakerVolume()
716 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: maxVolume=%d", *maxVolume); in MaxSpeakerVolume()
1240 int32_t AudioDeviceModuleImpl::MaxMicrophoneVolume(uint32_t* maxVolume) const in MaxMicrophoneVolume()
1252 *maxVolume = maxVol; in MaxMicrophoneVolume()
1254 WEBRTC_TRACE(kTraceStream, kTraceAudioDevice, _id, "output: maxVolume=%d", *maxVolume); in MaxMicrophoneVolume()
Daudio_device_impl.h120 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override;
128 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
/external/webrtc/webrtc/modules/audio_device/include/
Dfake_audio_device.h82 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const { return 0; } in MaxSpeakerVolume() argument
88 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const { return 0; } in MaxMicrophoneVolume() argument
Daudio_device.h121 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const = 0;
129 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const = 0;
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_ios.h117 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
123 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
Daudio_device_not_implemented_ios.mm80 int32_t AudioDeviceIOS::MaxSpeakerVolume(uint32_t& maxVolume) const {
230 int32_t AudioDeviceIOS::MaxMicrophoneVolume(uint32_t& maxVolume) const {

12