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 LogCallback& log_callback) { | |
49 NOTREACHED(); | 48 NOTREACHED(); |
50 return NULL; | 49 return NULL; |
51 } | 50 } |
52 | 51 |
53 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( | 52 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( |
54 const media::AudioParameters& params, | 53 const media::AudioParameters& params, |
55 const std::string& device_id) { | 54 const std::string& device_id) { |
56 NOTREACHED(); | 55 NOTREACHED(); |
57 return NULL; | 56 return NULL; |
58 } | 57 } |
59 | 58 |
60 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( | 59 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( |
61 const media::AudioParameters& params, | 60 const media::AudioParameters& params, |
62 const std::string& device_id, | 61 const std::string& device_id) { |
63 const LogCallback& log_callback) { | |
64 NOTREACHED(); | 62 NOTREACHED(); |
65 return NULL; | 63 return NULL; |
66 } | 64 } |
67 | 65 |
68 void MockAudioManager::AddOutputDeviceChangeListener( | 66 void MockAudioManager::AddOutputDeviceChangeListener( |
69 AudioDeviceListener* listener) { | 67 AudioDeviceListener* listener) { |
70 } | 68 } |
71 | 69 |
72 void MockAudioManager::RemoveOutputDeviceChangeListener( | 70 void MockAudioManager::RemoveOutputDeviceChangeListener( |
73 AudioDeviceListener* listener) { | 71 AudioDeviceListener* listener) { |
(...skipping 17 matching lines...) Expand all Loading... |
91 const std::string& input_device_id) { | 89 const std::string& input_device_id) { |
92 return std::string(); | 90 return std::string(); |
93 } | 91 } |
94 | 92 |
95 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog( | 93 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog( |
96 AudioLogFactory::AudioComponent component) { | 94 AudioLogFactory::AudioComponent component) { |
97 return nullptr; | 95 return nullptr; |
98 } | 96 } |
99 | 97 |
100 } // namespace media. | 98 } // namespace media. |
OLD | NEW |