| Index: media/audio/openbsd/audio_manager_openbsd.h
|
| diff --git a/media/audio/openbsd/audio_manager_openbsd.h b/media/audio/openbsd/audio_manager_openbsd.h
|
| index b9f19c6e85f9cab0fcc4ab3f0565d94c93659dc2..e768524d9402920e12114a193090d6b8c24ffc2b 100644
|
| --- a/media/audio/openbsd/audio_manager_openbsd.h
|
| +++ b/media/audio/openbsd/audio_manager_openbsd.h
|
| @@ -5,27 +5,37 @@
|
| #ifndef MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
|
| #define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
|
|
|
| -#include "base/basictypes.h"
|
| +#include <set>
|
| +
|
| +#include "base/compiler_specific.h"
|
| #include "media/audio/audio_manager_base.h"
|
|
|
| -class AudioManagerOpenBSD : public AudioManagerBase {
|
| +class MEDIA_EXPORT AudioManagerOpenBSD : public AudioManagerBase {
|
| public:
|
| AudioManagerOpenBSD();
|
|
|
| + // Call before using a newly created AudioManagerOpenBSD instance.
|
| + virtual void Init() OVERRIDE;
|
| +
|
| // Implementation of AudioManager.
|
| virtual bool HasAudioOutputDevices() OVERRIDE;
|
| virtual bool HasAudioInputDevices() OVERRIDE;
|
| virtual AudioOutputStream* MakeAudioOutputStream(
|
| const AudioParameters& params) OVERRIDE;
|
| - virtual AudioInputStream* MakeAudioInputStream(
|
| - const AudioParameters& params) OVERRIDE;
|
| - virtual bool IsRecordingInProgress() OVERRIDE;
|
| + virtual AudioInputStream* MakeAudioInputStream(const AudioParameters& params)
|
| + OVERRIDE;
|
| +
|
| virtual void MuteAll() OVERRIDE;
|
| virtual void UnMuteAll() OVERRIDE;
|
|
|
| - private:
|
| + virtual void ReleaseOutputStream(AudioOutputStream* stream);
|
| +
|
| + protected:
|
| virtual ~AudioManagerOpenBSD();
|
|
|
| + private:
|
| + std::set<AudioOutputStream*> active_streams_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD);
|
| };
|
|
|
|
|