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

Side by Side Diff: media/audio/linux/audio_manager_linux.h

Issue 7775004: Create media.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/alsa_wrapper.h ('k') | media/audio/simple_sources.h » ('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) 2011 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 #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 <set> 8 #include <set>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "media/audio/audio_manager_base.h" 12 #include "media/audio/audio_manager_base.h"
13 13
14 class AlsaWrapper; 14 class AlsaWrapper;
15 15
16 class AudioManagerLinux : public AudioManagerBase { 16 class MEDIA_EXPORT AudioManagerLinux : public AudioManagerBase {
17 public: 17 public:
18 AudioManagerLinux(); 18 AudioManagerLinux();
19 19
20 // Call before using a newly created AudioManagerLinux instance. 20 // Call before using a newly created AudioManagerLinux instance.
21 virtual void Init(); 21 virtual void Init();
22 22
23 // Implementation of AudioManager. 23 // Implementation of AudioManager.
24 virtual bool HasAudioOutputDevices(); 24 virtual bool HasAudioOutputDevices();
25 virtual bool HasAudioInputDevices(); 25 virtual bool HasAudioInputDevices();
26 virtual AudioOutputStream* MakeAudioOutputStream( 26 virtual AudioOutputStream* MakeAudioOutputStream(
(...skipping 16 matching lines...) Expand all
43 bool HasAnyValidAudioInputDevice(void** hint); 43 bool HasAnyValidAudioInputDevice(void** hint);
44 44
45 scoped_ptr<AlsaWrapper> wrapper_; 45 scoped_ptr<AlsaWrapper> wrapper_;
46 46
47 std::set<AudioOutputStream*> active_streams_; 47 std::set<AudioOutputStream*> active_streams_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(AudioManagerLinux); 49 DISALLOW_COPY_AND_ASSIGN(AudioManagerLinux);
50 }; 50 };
51 51
52 #endif // MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_ 52 #endif // MEDIA_AUDIO_LINUX_AUDIO_MANAGER_LINUX_H_
OLDNEW
« no previous file with comments | « media/audio/linux/alsa_wrapper.h ('k') | media/audio/simple_sources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698