OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/openbsd/audio_manager_openbsd.h" | 5 #include "media/audio/openbsd/audio_manager_openbsd.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace { | 9 static AudioManagerOpenBSD* g_audio_manager = NULL; |
10 AudioManagerOpenBSD* g_audio_manager = NULL; | |
11 } // namespace | |
12 | 10 |
13 // Implementation of AudioManager. | 11 // Implementation of AudioManager. |
14 bool AudioManagerOpenBSD::HasAudioOutputDevices() { | 12 bool AudioManagerOpenBSD::HasAudioOutputDevices() { |
15 NOTIMPLEMENTED(); | 13 NOTIMPLEMENTED(); |
16 return false; | 14 return false; |
17 } | 15 } |
18 | 16 |
19 bool AudioManagerOpenBSD::HasAudioInputDevices() { | 17 bool AudioManagerOpenBSD::HasAudioInputDevices() { |
20 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
21 return false; | 19 return false; |
(...skipping 26 matching lines...) Expand all Loading... |
48 } | 46 } |
49 | 47 |
50 void AudioManagerOpenBSD::UnMuteAll() { | 48 void AudioManagerOpenBSD::UnMuteAll() { |
51 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
52 } | 50 } |
53 | 51 |
54 // static | 52 // static |
55 AudioManager* AudioManager::CreateAudioManager() { | 53 AudioManager* AudioManager::CreateAudioManager() { |
56 return new AudioManagerOpenBSD(); | 54 return new AudioManagerOpenBSD(); |
57 } | 55 } |
OLD | NEW |