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

Side by Side Diff: media/audio/mac/audio_manager_mac.h

Issue 9701065: mac: Add MEDIA_EXPORT macros needed to link tests in the shared build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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_MAC_AUDIO_MANAGER_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "media/audio/audio_manager_base.h" 10 #include "media/audio/audio_manager_base.h"
11 11
12 // Mac OS X implementation of the AudioManager singleton. This class is internal 12 // Mac OS X implementation of the AudioManager singleton. This class is internal
13 // to the audio output and only internal users can call methods not exposed by 13 // to the audio output and only internal users can call methods not exposed by
14 // the AudioManager class. 14 // the AudioManager class.
15 class AudioManagerMac : public AudioManagerBase { 15 class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase {
16 public: 16 public:
17 AudioManagerMac(); 17 AudioManagerMac();
18 18
19 // Implementation of AudioManager. 19 // Implementation of AudioManager.
20 virtual bool HasAudioOutputDevices() OVERRIDE; 20 virtual bool HasAudioOutputDevices() OVERRIDE;
21 virtual bool HasAudioInputDevices() OVERRIDE; 21 virtual bool HasAudioInputDevices() OVERRIDE;
22 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) 22 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names)
23 OVERRIDE; 23 OVERRIDE;
24 virtual void MuteAll() OVERRIDE; 24 virtual void MuteAll() OVERRIDE;
25 virtual void UnMuteAll() OVERRIDE; 25 virtual void UnMuteAll() OVERRIDE;
26 26
27 // Implementation of AudioManagerBase. 27 // Implementation of AudioManagerBase.
28 virtual AudioOutputStream* MakeLinearOutputStream( 28 virtual AudioOutputStream* MakeLinearOutputStream(
29 const AudioParameters& params) OVERRIDE; 29 const AudioParameters& params) OVERRIDE;
30 virtual AudioOutputStream* MakeLowLatencyOutputStream( 30 virtual AudioOutputStream* MakeLowLatencyOutputStream(
31 const AudioParameters& params) OVERRIDE; 31 const AudioParameters& params) OVERRIDE;
32 virtual AudioInputStream* MakeLinearInputStream( 32 virtual AudioInputStream* MakeLinearInputStream(
33 const AudioParameters& params, const std::string& device_id) OVERRIDE; 33 const AudioParameters& params, const std::string& device_id) OVERRIDE;
34 virtual AudioInputStream* MakeLowLatencyInputStream( 34 virtual AudioInputStream* MakeLowLatencyInputStream(
35 const AudioParameters& params, const std::string& device_id) OVERRIDE; 35 const AudioParameters& params, const std::string& device_id) OVERRIDE;
36 36
37 protected: 37 protected:
38 virtual ~AudioManagerMac(); 38 virtual ~AudioManagerMac();
39 39
40 private: 40 private:
41 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); 41 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
42 }; 42 };
43 43
44 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 44 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698