OLD | NEW |
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/mock_audio_manager.h" | 5 #include "media/audio/mock_audio_manager.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "media/audio/audio_parameters.h" |
9 | 10 |
10 namespace media { | 11 namespace media { |
11 | 12 |
12 MockAudioManager::MockAudioManager(base::MessageLoopProxy* message_loop_proxy) | 13 MockAudioManager::MockAudioManager(base::MessageLoopProxy* message_loop_proxy) |
13 : message_loop_proxy_(message_loop_proxy) { | 14 : message_loop_proxy_(message_loop_proxy) { |
14 } | 15 } |
15 | 16 |
16 MockAudioManager::~MockAudioManager() { | 17 MockAudioManager::~MockAudioManager() { |
17 } | 18 } |
18 | 19 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 64 } |
64 | 65 |
65 void MockAudioManager::AddOutputDeviceChangeListener( | 66 void MockAudioManager::AddOutputDeviceChangeListener( |
66 AudioDeviceListener* listener) { | 67 AudioDeviceListener* listener) { |
67 } | 68 } |
68 | 69 |
69 void MockAudioManager::RemoveOutputDeviceChangeListener( | 70 void MockAudioManager::RemoveOutputDeviceChangeListener( |
70 AudioDeviceListener* listener) { | 71 AudioDeviceListener* listener) { |
71 } | 72 } |
72 | 73 |
| 74 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { |
| 75 return AudioParameters(); |
| 76 } |
| 77 |
| 78 AudioParameters MockAudioManager::GetInputStreamParameters( |
| 79 const std::string& device_id) { |
| 80 return AudioParameters(); |
| 81 } |
| 82 |
73 } // namespace media. | 83 } // namespace media. |
OLD | NEW |