Home | History | Annotate | Download | only in media

Lines Matching defs:Volume

61                double volume,
68 volume,
433 void WebRtcAudioCapturer::SetVolume(int volume) {
435 DCHECK_LE(volume, MaxVolume());
436 double normalized_volume = static_cast<double>(volume) / MaxVolume();
442 int WebRtcAudioCapturer::Volume() const {
453 double volume,
459 DCHECK_LE(volume, 1.0);
461 // We have a special situation on Linux where the microphone volume can be
462 // "higher than maximum". The input volume slider in the sound preference
465 // go up to 1.5x*N and that corresponds to a normalized |volume| of 1.5x.
466 DCHECK_LE(volume, 1.6);
479 // Map internal volume range of [0.0, 1.0] into [0, 255] used by AGC.
480 // The volume can be higher than 255 on Linux, and it will be cropped to
482 volume_ = static_cast<int>((volume * MaxVolume()) + 0.5);
545 // Update the |current_volume| to avoid passing the old volume to AGC.
603 base::TimeDelta* delay, int* volume, bool* key_pressed) {
606 *volume = volume_;