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

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

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix various compiler errors Created 8 years, 9 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
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
13 AudioInputStream* FakeAudioInputStream::MakeFakeStream( 15 AudioInputStream* FakeAudioInputStream::MakeFakeStream(
14 AudioManagerBase* manager, 16 AudioManagerBase* manager,
15 const AudioParameters& params) { 17 const AudioParameters& params) {
16 return new FakeAudioInputStream(manager, params); 18 return new FakeAudioInputStream(manager, params);
17 } 19 }
18 20
19 FakeAudioInputStream::FakeAudioInputStream(AudioManagerBase* manager, 21 FakeAudioInputStream::FakeAudioInputStream(AudioManagerBase* manager,
20 const AudioParameters& params) 22 const AudioParameters& params)
21 : audio_manager_(manager), 23 : audio_manager_(manager),
22 callback_(NULL), 24 callback_(NULL),
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 82
81 double FakeAudioInputStream::GetMaxVolume() { 83 double FakeAudioInputStream::GetMaxVolume() {
82 return 0.0; 84 return 0.0;
83 } 85 }
84 86
85 void FakeAudioInputStream::SetVolume(double volume) {} 87 void FakeAudioInputStream::SetVolume(double volume) {}
86 88
87 double FakeAudioInputStream::GetVolume() { 89 double FakeAudioInputStream::GetVolume() {
88 return 0.0; 90 return 0.0;
89 } 91 }
92
93 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698