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/audio/audio_parameters.h" | 9 #include "media/audio/audio_parameters.h" |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 device_names->push_back(media::AudioDeviceName("fake_device_name_2", | 40 device_names->push_back(media::AudioDeviceName("fake_device_name_2", |
41 "fake_device_id_2")); | 41 "fake_device_id_2")); |
42 } | 42 } |
43 | 43 |
44 void MockAudioManager::GetAudioOutputDeviceNames( | 44 void MockAudioManager::GetAudioOutputDeviceNames( |
45 AudioDeviceNames* device_names) { | 45 AudioDeviceNames* device_names) { |
46 } | 46 } |
47 | 47 |
48 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( | 48 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( |
49 const media::AudioParameters& params, | 49 const media::AudioParameters& params, |
50 const std::string& device_id, | 50 const std::string& device_id) { |
51 const std::string& input_device_id) { | |
52 NOTREACHED(); | 51 NOTREACHED(); |
53 return NULL; | 52 return NULL; |
54 } | 53 } |
55 | 54 |
56 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( | 55 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( |
57 const media::AudioParameters& params, | 56 const media::AudioParameters& params, |
58 const std::string& device_id, | 57 const std::string& device_id) { |
59 const std::string& input_device_id) { | |
60 NOTREACHED(); | 58 NOTREACHED(); |
61 return NULL; | 59 return NULL; |
62 } | 60 } |
63 | 61 |
64 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( | 62 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( |
65 const media::AudioParameters& params, | 63 const media::AudioParameters& params, |
66 const std::string& device_id) { | 64 const std::string& device_id) { |
67 NOTREACHED(); | 65 NOTREACHED(); |
68 return NULL; | 66 return NULL; |
69 } | 67 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 103 } |
106 | 104 |
107 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog( | 105 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog( |
108 AudioLogFactory::AudioComponent component) { | 106 AudioLogFactory::AudioComponent component) { |
109 return scoped_ptr<AudioLog>(); | 107 return scoped_ptr<AudioLog>(); |
110 } | 108 } |
111 | 109 |
112 void MockAudioManager::FixWedgedAudio() {} | 110 void MockAudioManager::FixWedgedAudio() {} |
113 | 111 |
114 } // namespace media. | 112 } // namespace media. |
OLD | NEW |