Home | History | Annotate | Download | only in media

Lines Matching refs:volume

59                double volume,
67 volume,
440 void WebRtcAudioCapturer::SetVolume(int volume) {
442 DCHECK_LE(volume, MaxVolume());
443 double normalized_volume = static_cast<double>(volume) / MaxVolume();
449 int WebRtcAudioCapturer::Volume() const {
460 double volume,
466 DCHECK_LE(volume, 1.0);
468 // We have a special situation on Linux where the microphone volume can be
469 // "higher than maximum". The input volume slider in the sound preference
472 // go up to 1.5x*N and that corresponds to a normalized |volume| of 1.5x.
473 volume, 1.6);
486 // Map internal volume range of [0.0, 1.0] into [0, 255] used by AGC.
487 // The volume can be higher than 255 on Linux, and it will be cropped to
489 volume_ = static_cast<int>((volume * MaxVolume()) + 0.5);
558 // Update the |current_volume| to avoid passing the old volume to AGC.
616 base::TimeDelta* delay, int* volume, bool* key_pressed) {
619 *volume = volume_;