Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: media/audio/openbsd/audio_manager_openbsd.h

Issue 12310101: Enable pulse as the default IO handling in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added UMA histogram Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/audio/linux/audio_manager_linux.cc ('k') | media/audio/openbsd/audio_manager_openbsd.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « media/audio/linux/audio_manager_linux.cc ('k') | media/audio/openbsd/audio_manager_openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698