| 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/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
| 9 #include "media/audio/audio_parameters.h" | 9 #include "media/audio/audio_parameters.h" |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 } | 72 } |
| 73 | 73 |
| 74 void MockAudioManager::RemoveOutputDeviceChangeListener( | 74 void MockAudioManager::RemoveOutputDeviceChangeListener( |
| 75 AudioDeviceListener* listener) { | 75 AudioDeviceListener* listener) { |
| 76 } | 76 } |
| 77 | 77 |
| 78 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { | 78 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { |
| 79 return AudioParameters(); | 79 return AudioParameters(); |
| 80 } | 80 } |
| 81 | 81 |
| 82 AudioParameters MockAudioManager::GetOutputStreamParameters( |
| 83 const std::string& device_id) { |
| 84 return AudioParameters(); |
| 85 } |
| 86 |
| 82 AudioParameters MockAudioManager::GetInputStreamParameters( | 87 AudioParameters MockAudioManager::GetInputStreamParameters( |
| 83 const std::string& device_id) { | 88 const std::string& device_id) { |
| 84 return AudioParameters(); | 89 return AudioParameters(); |
| 85 } | 90 } |
| 86 | 91 |
| 92 std::string MockAudioManager::GetAssociatedOutputDeviceID( |
| 93 const std::string& input_device_id) { |
| 94 return std::string(); |
| 95 } |
| 96 |
| 87 } // namespace media. | 97 } // namespace media. |
| OLD | NEW |