Searched refs:maxVol (Results 1 – 9 of 9) sorted by relevance
63 uint32_t maxVol(0); in SetSpeakerVolume() local67 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() local102 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() local133 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 …]
450 long int maxVol(0); in MaxSpeakerVolume() local454 &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() local488 &minVol, &maxVol); in MinSpeakerVolume()492 minVol, maxVol); in MinSpeakerVolume()494 if (maxVol <= minVol) in MinSpeakerVolume()1062 long int maxVol(0); in MaxMicrophoneVolume() local[all …]
362 uint32_t maxVol(0); in MaxSpeakerVolume() local364 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()369 maxVolume = maxVol; in MaxSpeakerVolume()779 uint32_t maxVol(0); in MaxMicrophoneVolume() local781 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()786 maxVolume = maxVol; in MaxMicrophoneVolume()
452 uint32_t maxVol(0); in MaxSpeakerVolume() local454 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()459 maxVolume = maxVol; in MaxSpeakerVolume()832 uint32_t maxVol(0); in MaxMicrophoneVolume() local834 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()839 maxVolume = maxVol; in MaxMicrophoneVolume()
707 uint32_t maxVol(0); in MaxSpeakerVolume() local709 if (_ptrAudioDevice->MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()714 *maxVolume = maxVol; in MaxSpeakerVolume()1245 uint32_t maxVol(0); in MaxMicrophoneVolume() local1247 if (_ptrAudioDevice->MaxMicrophoneVolume(maxVol) == -1) in MaxMicrophoneVolume()1252 *maxVolume = maxVol; in MaxMicrophoneVolume()
293 public AudioStream(int currVol, int maxVol, int flag) { in AudioStream() argument295 setMaxVolume(maxVol); in AudioStream()
729 const uint16_t maxVol(0xFFFF); in TEST_F() local741 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()
555 uint32_t maxVol(0); in MaxSpeakerVolume() local557 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) { in MaxSpeakerVolume()561 maxVolume = maxVol; in MaxSpeakerVolume()859 uint32_t maxVol(0); in MaxMicrophoneVolume() local861 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) { in MaxMicrophoneVolume()865 maxVolume = maxVol; in MaxMicrophoneVolume()
517 uint32_t maxVol = 0; in InitMicrophone() local518 if (_mixerManager.MaxMicrophoneVolume(maxVol) == -1) in InitMicrophone()523 _maxMicVolume = maxVol; in InitMicrophone()754 uint32_t maxVol(0); in MaxSpeakerVolume() local756 if (_mixerManager.MaxSpeakerVolume(maxVol) == -1) in MaxSpeakerVolume()761 maxVolume = maxVol; in MaxSpeakerVolume()