Home
last modified time | relevance | path

Searched refs:maxVol (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/voice_engine/
Dvoe_volume_control_impl.cc63 uint32_t maxVol(0); in SetSpeakerVolume() local
67 if (_shared->audio_device()->MaxSpeakerVolume(&maxVol) != 0) { in SetSpeakerVolume()
73 spkrVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / in SetSpeakerVolume()
93 uint32_t maxVol(0); in GetSpeakerVolume() local
102 if (_shared->audio_device()->MaxSpeakerVolume(&maxVol) != 0) { in GetSpeakerVolume()
110 (uint32_t)((spkrVol * kMaxVolumeLevel + (int)(maxVol / 2)) / (maxVol)); in GetSpeakerVolume()
129 uint32_t maxVol(0); in SetMicVolume() local
133 if (_shared->audio_device()->MaxMicrophoneVolume(&maxVol) != 0) { in SetMicVolume()
150 if (micVol >= maxVol) in SetMicVolume()
155 micVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / in SetMicVolume()
[all …]
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.cc450 long int maxVol(0); in MaxSpeakerVolume() local
454 &minVol, &maxVol); in MaxSpeakerVolume()
458 minVol, maxVol); in MaxSpeakerVolume()
460 if (maxVol <= minVol) in MaxSpeakerVolume()
467 maxVolume = static_cast<uint32_t> (maxVol); in MaxSpeakerVolume()
484 long int maxVol(0); in MinSpeakerVolume() local
488 &minVol, &maxVol); in MinSpeakerVolume()
492 minVol, maxVol); in MinSpeakerVolume()
494 if (maxVol <= minVol) in MinSpeakerVolume()
1062 long int maxVol(0); in MaxMicrophoneVolume() local
[all …]
Daudio_device_alsa_linux.cc362 uint32_t maxVol(0); in MaxSpeakerVolume() local
364 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()
369 maxVolume = maxVol; in MaxSpeakerVolume()
779 uint32_t maxVol(0); in MaxMicrophoneVolume() local
781 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()
786 maxVolume = maxVol; in MaxMicrophoneVolume()
Daudio_device_pulse_linux.cc452 uint32_t maxVol(0); in MaxSpeakerVolume() local
454 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()
459 maxVolume = maxVol; in MaxSpeakerVolume()
832 uint32_t maxVol(0); in MaxMicrophoneVolume() local
834 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()
839 maxVolume = maxVol; in MaxMicrophoneVolume()
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_impl.cc707 uint32_t maxVol(0); in MaxSpeakerVolume() local
709 if (_ptrAudioDevice->MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()
714 *maxVolume = maxVol; in MaxSpeakerVolume()
1245 uint32_t maxVol(0); in MaxMicrophoneVolume() local
1247 if (_ptrAudioDevice->MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()
1252 *maxVolume = maxVol; in MaxMicrophoneVolume()
/external/webrtc/webrtc/modules/audio_device/test/
Daudio_device_test_api.cc729 const uint16_t maxVol(0xFFFF); in TEST_F() local
741 for (vol = 0; vol <= maxVol; vol += (maxVol/5)) in TEST_F()
753 for (vol = 0; vol <= maxVol; vol += (maxVol/5)) in TEST_F()
763 for (vol = 0; vol <= maxVol; vol += (maxVol/5)) in TEST_F()
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc555 uint32_t maxVol(0); in MaxSpeakerVolume() local
557 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) { in MaxSpeakerVolume()
561 maxVolume = maxVol; in MaxSpeakerVolume()
859 uint32_t maxVol(0); in MaxMicrophoneVolume() local
861 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) { in MaxMicrophoneVolume()
865 maxVolume = maxVol; in MaxMicrophoneVolume()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc517 uint32_t maxVol = 0; in InitMicrophone() local
518 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in InitMicrophone()
523 _maxMicVolume = maxVol; in InitMicrophone()
754 uint32_t maxVol(0); in MaxSpeakerVolume() local
756 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()
761 maxVolume = maxVol; in MaxSpeakerVolume()