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

Side by Side Diff: media/audio/virtual_audio_input_stream.cc

Issue 19622002: Use a direct include of the message_loop header in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « media/audio/scoped_loop_observer.h ('k') | media/audio/virtual_audio_input_stream_unittest.cc » ('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"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/message_loop/message_loop_proxy.h" 12 #include "base/message_loop/message_loop_proxy.h"
13 #include "media/audio/virtual_audio_output_stream.h" 13 #include "media/audio/virtual_audio_output_stream.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 // LoopbackAudioConverter works similar to AudioConverter and converts input 17 // LoopbackAudioConverter works similar to AudioConverter and converts input
18 // streams to different audio parameters. Then, the LoopbackAudioConverter can 18 // streams to different audio parameters. Then, the LoopbackAudioConverter can
19 // be used as an input to another AudioConverter. This allows us to 19 // be used as an input to another AudioConverter. This allows us to
20 // use converted audio from AudioOutputStreams as input to an AudioConverter. 20 // use converted audio from AudioOutputStreams as input to an AudioConverter.
21 // For example, this allows converting multiple streams into a common format and 21 // For example, this allows converting multiple streams into a common format and
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 return 1.0; 179 return 1.0;
180 } 180 }
181 181
182 void VirtualAudioInputStream::SetAutomaticGainControl(bool enabled) {} 182 void VirtualAudioInputStream::SetAutomaticGainControl(bool enabled) {}
183 183
184 bool VirtualAudioInputStream::GetAutomaticGainControl() { 184 bool VirtualAudioInputStream::GetAutomaticGainControl() {
185 return false; 185 return false;
186 } 186 }
187 187
188 } // namespace media 188 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/scoped_loop_observer.h ('k') | media/audio/virtual_audio_input_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698