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

Side by Side Diff: media/audio/virtual_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
« no previous file with comments | « media/audio/virtual_audio_input_stream.h ('k') | media/audio/win/audio_low_latency_input_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "media/audio/virtual_audio_input_stream.h" 5 #include "media/audio/virtual_audio_input_stream.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 double VirtualAudioInputStream::GetVolume() { 166 double VirtualAudioInputStream::GetVolume() {
167 return 1.0; 167 return 1.0;
168 } 168 }
169 169
170 void VirtualAudioInputStream::SetAutomaticGainControl(bool enabled) {} 170 void VirtualAudioInputStream::SetAutomaticGainControl(bool enabled) {}
171 171
172 bool VirtualAudioInputStream::GetAutomaticGainControl() { 172 bool VirtualAudioInputStream::GetAutomaticGainControl() {
173 return false; 173 return false;
174 } 174 }
175 175
176 bool VirtualAudioInputStream::IsMuted() {
177 return false;
178 }
179
176 } // namespace media 180 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/virtual_audio_input_stream.h ('k') | media/audio/win/audio_low_latency_input_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698