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 #include "media/audio/audio_parameters.h" |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
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 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( | 39 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( |
40 const media::AudioParameters& params) { | 40 const media::AudioParameters& params, |
| 41 const std::string& input_device_id) { |
41 NOTREACHED(); | 42 NOTREACHED(); |
42 return NULL; | 43 return NULL; |
43 } | 44 } |
44 | 45 |
45 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( | 46 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( |
46 const media::AudioParameters& params) { | 47 const media::AudioParameters& params, |
| 48 const std::string& input_device_id) { |
47 NOTREACHED(); | 49 NOTREACHED(); |
48 return NULL; | 50 return NULL; |
49 } | 51 } |
50 | 52 |
51 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( | 53 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( |
52 const media::AudioParameters& params, | 54 const media::AudioParameters& params, |
53 const std::string& device_id) { | 55 const std::string& device_id) { |
54 NOTREACHED(); | 56 NOTREACHED(); |
55 return NULL; | 57 return NULL; |
56 } | 58 } |
(...skipping 17 matching lines...) Expand all Loading... |
74 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { | 76 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { |
75 return AudioParameters(); | 77 return AudioParameters(); |
76 } | 78 } |
77 | 79 |
78 AudioParameters MockAudioManager::GetInputStreamParameters( | 80 AudioParameters MockAudioManager::GetInputStreamParameters( |
79 const std::string& device_id) { | 81 const std::string& device_id) { |
80 return AudioParameters(); | 82 return AudioParameters(); |
81 } | 83 } |
82 | 84 |
83 } // namespace media. | 85 } // namespace media. |
OLD | NEW |