Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: content/browser/media/capture/web_contents_audio_input_stream.cc

Issue 645923002: Add support for audio input mute detection on all platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/media/capture/web_contents_audio_input_stream.h" 5 #include "content/browser/media/capture/web_contents_audio_input_stream.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 } 384 }
385 385
386 void WebContentsAudioInputStream::SetAutomaticGainControl(bool enabled) { 386 void WebContentsAudioInputStream::SetAutomaticGainControl(bool enabled) {
387 impl_->mixer_stream()->SetAutomaticGainControl(enabled); 387 impl_->mixer_stream()->SetAutomaticGainControl(enabled);
388 } 388 }
389 389
390 bool WebContentsAudioInputStream::GetAutomaticGainControl() { 390 bool WebContentsAudioInputStream::GetAutomaticGainControl() {
391 return impl_->mixer_stream()->GetAutomaticGainControl(); 391 return impl_->mixer_stream()->GetAutomaticGainControl();
392 } 392 }
393 393
394 bool WebContentsAudioInputStream::IsMuted() {
395 return false;
396 }
397
394 } // namespace content 398 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/capture/web_contents_audio_input_stream.h ('k') | media/audio/alsa/alsa_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698