Home
last modified time | relevance | path

Searched refs:minVolume (Results 1 – 25 of 34) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_device/test/
Daudio_device_test_api.cc882 uint32_t minVolume(0); in TEST_F() local
892 EXPECT_EQ(-1, audio_device_->MinSpeakerVolume(&minVolume)); in TEST_F()
916 EXPECT_EQ(0, audio_device_->MinSpeakerVolume(&minVolume)); in TEST_F()
918 for (vol = minVolume; vol < (int)maxVolume; vol += 20*stepSize) { in TEST_F()
932 EXPECT_EQ(0, audio_device_->MinSpeakerVolume(&minVolume)); in TEST_F()
934 uint32_t step = (maxVolume - minVolume) / 10; in TEST_F()
936 for (vol = minVolume; vol <= maxVolume; vol += step) { in TEST_F()
951 EXPECT_EQ(0, audio_device_->MinSpeakerVolume(&minVolume)); 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 …]
Dfunc_test_manager.cc229 uint32_t minVolume(0); in RecordedDataIsAvailable() local
233 EXPECT_EQ(0, _audioDevice->MinMicrophoneVolume(&minVolume)); in RecordedDataIsAvailable()
241 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
255 uint32_t minVolume(0); in RecordedDataIsAvailable() local
258 EXPECT_EQ(0, _audioDevice->MinMicrophoneVolume(&minVolume)); in RecordedDataIsAvailable()
266 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
505 uint32_t minVolume(0); in NeedMorePlayData() local
509 EXPECT_EQ(0, _audioDevice->MinSpeakerVolume(&minVolume)); in NeedMorePlayData()
517 uint32_t step = (maxVolume - minVolume) / 10; in NeedMorePlayData()
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.h29 int32_t MinSpeakerVolume(uint32_t& minVolume) const;
47 int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
Daudio_mixer_manager_mac.cc348 int32_t AudioMixerManagerMac::MinSpeakerVolume(uint32_t& minVolume) const { in MinSpeakerVolume()
357 minVolume = 0; in MinSpeakerVolume()
970 int32_t AudioMixerManagerMac::MinMicrophoneVolume(uint32_t& minVolume) const { in MinMicrophoneVolume()
979 minVolume = 0; in MinMicrophoneVolume()
Daudio_device_mac.h127 virtual int32_t MinSpeakerVolume(uint32_t& minVolume) const;
135 virtual int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.h32 int32_t MinSpeakerVolume(uint32_t& minVolume) const;
48 int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
Daudio_mixer_manager_pulse_linux.h40 int32_t MinSpeakerVolume(uint32_t& minVolume) const;
58 int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
Daudio_mixer_manager_pulse_linux.cc357 AudioMixerManagerLinuxPulse::MinSpeakerVolume(uint32_t& minVolume) const in MinSpeakerVolume()
367 minVolume = static_cast<uint32_t> (PA_VOLUME_MUTED); in MinSpeakerVolume()
916 AudioMixerManagerLinuxPulse::MinMicrophoneVolume(uint32_t& minVolume) const in MinMicrophoneVolume()
926 minVolume = static_cast<uint32_t> (PA_VOLUME_MUTED); in MinMicrophoneVolume()
Daudio_device_alsa_linux.h101 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
109 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
Daudio_mixer_manager_alsa_linux.cc473 uint32_t& minVolume) const in MinSpeakerVolume()
501 minVolume = static_cast<uint32_t> (minVol); in MinSpeakerVolume()
1092 uint32_t& minVolume) const in MinMicrophoneVolume()
1119 minVolume = static_cast<uint32_t> (minVol); in MinMicrophoneVolume()
Daudio_device_pulse_linux.h163 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
171 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_template.h260 int32_t MinSpeakerVolume(uint32_t& minVolume) const override { in MinSpeakerVolume() argument
261 return output_.MinSpeakerVolume(minVolume); in MinSpeakerVolume()
290 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override { in MinMicrophoneVolume() argument
Dopensles_player.h80 int MinSpeakerVolume(uint32_t& minVolume) const;
/external/webrtc/webrtc/modules/audio_device/dummy/
Daudio_device_dummy.cc114 int32_t AudioDeviceDummy::MinSpeakerVolume(uint32_t& minVolume) const { in MinSpeakerVolume()
136 int32_t AudioDeviceDummy::MinMicrophoneVolume(uint32_t& minVolume) const { in MinMicrophoneVolume()
Daudio_device_dummy.h88 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
96 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
Dfile_audio_device.h108 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
116 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_mixer_manager_win.h59 int32_t MinSpeakerVolume(uint32_t& minVolume) const;
75 int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
Daudio_device_wave_win.h108 virtual int32_t MinSpeakerVolume(uint32_t& minVolume) const;
116 virtual int32_t MinMicrophoneVolume(uint32_t& minVolume) const;
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_impl.cc724 int32_t AudioDeviceModuleImpl::MinSpeakerVolume(uint32_t* minVolume) const in MinSpeakerVolume()
735 *minVolume = minVol; in MinSpeakerVolume()
737 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: minVolume=%u", *minVolume); in MinSpeakerVolume()
1262 int32_t AudioDeviceModuleImpl::MinMicrophoneVolume(uint32_t* minVolume) const in MinMicrophoneVolume()
1273 *minVolume = minVol; in MinMicrophoneVolume()
1275 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: minVolume=%u", *minVolume); in MinMicrophoneVolume()
Daudio_device_generic.h85 virtual int32_t MinSpeakerVolume(uint32_t& minVolume) const = 0;
93 virtual int32_t MinMicrophoneVolume(uint32_t& minVolume) const = 0;
Daudio_device_impl.h121 int32_t MinSpeakerVolume(uint32_t* minVolume) const override;
129 int32_t MinMicrophoneVolume(uint32_t* minVolume) const override;
/external/webrtc/webrtc/modules/audio_device/include/
Dfake_audio_device.h83 virtual int32_t MinSpeakerVolume(uint32_t* minVolume) const { return 0; } in MinSpeakerVolume() argument
89 virtual int32_t MinMicrophoneVolume(uint32_t* minVolume) const { return 0; } in MinMicrophoneVolume() argument
Daudio_device.h122 virtual int32_t MinSpeakerVolume(uint32_t* minVolume) const = 0;
130 virtual int32_t MinMicrophoneVolume(uint32_t* minVolume) const = 0;
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_ios.h118 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
124 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
Daudio_device_not_implemented_ios.mm85 int32_t AudioDeviceIOS::MinSpeakerVolume(uint32_t& minVolume) const {
235 int32_t AudioDeviceIOS::MinMicrophoneVolume(uint32_t& minVolume) const {

12