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/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "media/base/audio_parameters.h" | 9 #include "media/base/audio_parameters.h" |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Do not inject fake devices here, use | 37 // Do not inject fake devices here, use |
38 // AudioInputDeviceManager::GetFakeDeviceNames() instead. | 38 // AudioInputDeviceManager::GetFakeDeviceNames() instead. |
39 } | 39 } |
40 | 40 |
41 void MockAudioManager::GetAudioOutputDeviceNames( | 41 void MockAudioManager::GetAudioOutputDeviceNames( |
42 AudioDeviceNames* device_names) { | 42 AudioDeviceNames* device_names) { |
43 } | 43 } |
44 | 44 |
45 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( | 45 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( |
46 const media::AudioParameters& params, | 46 const media::AudioParameters& params, |
47 const std::string& device_id) { | 47 const std::string& device_id, |
| 48 const StatisticsCallback& statistics_callback) { |
48 NOTREACHED(); | 49 NOTREACHED(); |
49 return NULL; | 50 return NULL; |
50 } | 51 } |
51 | 52 |
52 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( | 53 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( |
53 const media::AudioParameters& params, | 54 const media::AudioParameters& params, |
54 const std::string& device_id) { | 55 const std::string& device_id) { |
55 NOTREACHED(); | 56 NOTREACHED(); |
56 return NULL; | 57 return NULL; |
57 } | 58 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 const std::string& input_device_id) { | 90 const std::string& input_device_id) { |
90 return std::string(); | 91 return std::string(); |
91 } | 92 } |
92 | 93 |
93 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog( | 94 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog( |
94 AudioLogFactory::AudioComponent component) { | 95 AudioLogFactory::AudioComponent component) { |
95 return nullptr; | 96 return nullptr; |
96 } | 97 } |
97 | 98 |
98 } // namespace media. | 99 } // namespace media. |
OLD | NEW |