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 #ifndef MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ | 5 #ifndef MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ |
6 #define MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ | 6 #define MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 // Call before using a newly created AudioManagerLinux instance. | 22 // Call before using a newly created AudioManagerLinux instance. |
23 virtual void Init() OVERRIDE; | 23 virtual void Init() OVERRIDE; |
24 | 24 |
25 // Implementation of AudioManager. | 25 // Implementation of AudioManager. |
26 virtual bool HasAudioOutputDevices() OVERRIDE; | 26 virtual bool HasAudioOutputDevices() OVERRIDE; |
27 virtual bool HasAudioInputDevices() OVERRIDE; | 27 virtual bool HasAudioInputDevices() OVERRIDE; |
28 virtual bool CanShowAudioInputSettings() OVERRIDE; | 28 virtual bool CanShowAudioInputSettings() OVERRIDE; |
29 virtual void ShowAudioInputSettings() OVERRIDE; | 29 virtual void ShowAudioInputSettings() OVERRIDE; |
30 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) | 30 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) |
31 OVERRIDE; | 31 OVERRIDE; |
32 virtual void MuteAll() OVERRIDE; | |
33 virtual void UnMuteAll() OVERRIDE; | |
34 | 32 |
35 // Implementation of AudioManagerBase. | 33 // Implementation of AudioManagerBase. |
36 virtual AudioOutputStream* MakeLinearOutputStream( | 34 virtual AudioOutputStream* MakeLinearOutputStream( |
37 const AudioParameters& params) OVERRIDE; | 35 const AudioParameters& params) OVERRIDE; |
38 virtual AudioOutputStream* MakeLowLatencyOutputStream( | 36 virtual AudioOutputStream* MakeLowLatencyOutputStream( |
39 const AudioParameters& params) OVERRIDE; | 37 const AudioParameters& params) OVERRIDE; |
40 virtual AudioInputStream* MakeLinearInputStream( | 38 virtual AudioInputStream* MakeLinearInputStream( |
41 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 39 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
42 virtual AudioInputStream* MakeLowLatencyInputStream( | 40 virtual AudioInputStream* MakeLowLatencyInputStream( |
43 const AudioParameters& params, const std::string& device_id) OVERRIDE; | 41 const AudioParameters& params, const std::string& device_id) OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
71 const std::string& device_id); | 69 const std::string& device_id); |
72 | 70 |
73 scoped_ptr<AlsaWrapper> wrapper_; | 71 scoped_ptr<AlsaWrapper> wrapper_; |
74 | 72 |
75 DISALLOW_COPY_AND_ASSIGN(AudioManagerLinux); | 73 DISALLOW_COPY_AND_ASSIGN(AudioManagerLinux); |
76 }; | 74 }; |
77 | 75 |
78 } // namespace media | 76 } // namespace media |
79 | 77 |
80 #endif // MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ | 78 #endif // MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ |
OLD | NEW |