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 | 9 |
10 namespace media { | 10 namespace media { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 return NULL; | 51 return NULL; |
52 } | 52 } |
53 | 53 |
54 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( | 54 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( |
55 const media::AudioParameters& params, | 55 const media::AudioParameters& params, |
56 const std::string& device_id) { | 56 const std::string& device_id) { |
57 NOTREACHED(); | 57 NOTREACHED(); |
58 return NULL; | 58 return NULL; |
59 } | 59 } |
60 | 60 |
61 void MockAudioManager::MuteAll() { | |
62 } | |
63 | |
64 void MockAudioManager::UnMuteAll() { | |
65 } | |
66 | |
67 bool MockAudioManager::IsRecordingInProcess() { | 61 bool MockAudioManager::IsRecordingInProcess() { |
68 return false; | 62 return false; |
69 } | 63 } |
70 | 64 |
71 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { | 65 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { |
72 return message_loop_proxy_; | 66 return message_loop_proxy_; |
73 } | 67 } |
74 | 68 |
75 void MockAudioManager::Init() { | 69 void MockAudioManager::Init() { |
76 } | 70 } |
77 | 71 |
78 } // namespace media. | 72 } // namespace media. |
OLD | NEW |