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 18 matching lines...) Expand all Loading... |
29 return string16(); | 29 return string16(); |
30 } | 30 } |
31 | 31 |
32 void MockAudioManager::ShowAudioInputSettings() { | 32 void MockAudioManager::ShowAudioInputSettings() { |
33 } | 33 } |
34 | 34 |
35 void MockAudioManager::GetAudioInputDeviceNames( | 35 void MockAudioManager::GetAudioInputDeviceNames( |
36 media::AudioDeviceNames* device_names) { | 36 media::AudioDeviceNames* device_names) { |
37 } | 37 } |
38 | 38 |
| 39 void MockAudioManager::GetAudioOutputDeviceNames( |
| 40 media::AudioDeviceNames* device_names) { |
| 41 } |
| 42 |
39 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( | 43 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( |
40 const media::AudioParameters& params, | 44 const media::AudioParameters& params, |
41 const std::string& device_id, | 45 const std::string& device_id, |
42 const std::string& input_device_id) { | 46 const std::string& input_device_id) { |
43 NOTREACHED(); | 47 NOTREACHED(); |
44 return NULL; | 48 return NULL; |
45 } | 49 } |
46 | 50 |
47 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( | 51 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( |
48 const media::AudioParameters& params, | 52 const media::AudioParameters& params, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const std::string& device_id) { | 92 const std::string& device_id) { |
89 return AudioParameters(); | 93 return AudioParameters(); |
90 } | 94 } |
91 | 95 |
92 std::string MockAudioManager::GetAssociatedOutputDeviceID( | 96 std::string MockAudioManager::GetAssociatedOutputDeviceID( |
93 const std::string& input_device_id) { | 97 const std::string& input_device_id) { |
94 return std::string(); | 98 return std::string(); |
95 } | 99 } |
96 | 100 |
97 } // namespace media. | 101 } // namespace media. |
OLD | NEW |