| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |