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_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | 5 #ifndef MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ |
6 #define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | 6 #define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 protected: | 35 protected: |
36 virtual ~AudioManagerOpenBSD(); | 36 virtual ~AudioManagerOpenBSD(); |
37 | 37 |
38 virtual AudioParameters GetPreferredOutputStreamParameters( | 38 virtual AudioParameters GetPreferredOutputStreamParameters( |
39 const AudioParameters& input_params) OVERRIDE; | 39 const AudioParameters& input_params) OVERRIDE; |
40 | 40 |
41 private: | 41 private: |
42 // Called by MakeLinearOutputStream and MakeLowLatencyOutputStream. | 42 // Called by MakeLinearOutputStream and MakeLowLatencyOutputStream. |
43 AudioOutputStream* MakeOutputStream(const AudioParameters& params); | 43 AudioOutputStream* MakeOutputStream(const AudioParameters& params); |
44 | 44 |
| 45 // Flag to indicate whether the pulse library has been initialized or not. |
| 46 bool pulse_library_is_initialized_; |
| 47 |
45 DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD); | 48 DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD); |
46 }; | 49 }; |
47 | 50 |
48 } // namespace media | 51 } // namespace media |
49 | 52 |
50 #endif // MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | 53 #endif // MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ |
OLD | NEW |