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

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

Issue 9965076: Revert 130180 - Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/fake_audio_input_stream.h ('k') | media/audio/fake_audio_output_stream.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/fake_audio_input_stream.h" 5 #include "media/audio/fake_audio_input_stream.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "media/audio/audio_manager_base.h" 8 #include "media/audio/audio_manager_base.h"
9 9
10 using base::Time; 10 using base::Time;
11 using base::TimeDelta; 11 using base::TimeDelta;
12 12
13 namespace media {
14
15 AudioInputStream* FakeAudioInputStream::MakeFakeStream( 13 AudioInputStream* FakeAudioInputStream::MakeFakeStream(
16 AudioManagerBase* manager, 14 AudioManagerBase* manager,
17 const AudioParameters& params) { 15 const AudioParameters& params) {
18 return new FakeAudioInputStream(manager, params); 16 return new FakeAudioInputStream(manager, params);
19 } 17 }
20 18
21 FakeAudioInputStream::FakeAudioInputStream(AudioManagerBase* manager, 19 FakeAudioInputStream::FakeAudioInputStream(AudioManagerBase* manager,
22 const AudioParameters& params) 20 const AudioParameters& params)
23 : audio_manager_(manager), 21 : audio_manager_(manager),
24 callback_(NULL), 22 callback_(NULL),
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 86
89 double FakeAudioInputStream::GetVolume() { 87 double FakeAudioInputStream::GetVolume() {
90 return 0.0; 88 return 0.0;
91 } 89 }
92 90
93 void FakeAudioInputStream::SetAutomaticGainControl(bool enabled) {} 91 void FakeAudioInputStream::SetAutomaticGainControl(bool enabled) {}
94 92
95 bool FakeAudioInputStream::GetAutomaticGainControl() { 93 bool FakeAudioInputStream::GetAutomaticGainControl() {
96 return false; 94 return false;
97 } 95 }
98
99 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/fake_audio_input_stream.h ('k') | media/audio/fake_audio_output_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698