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

Unified Diff: media/audio/openbsd/audio_manager_openbsd.h

Issue 8590045: Revert 110584 - Make pulseaudio available for all posix platforms and add support on OpenBSD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/linux/pulse_output.cc ('k') | media/audio/openbsd/audio_manager_openbsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/openbsd/audio_manager_openbsd.h
===================================================================
--- media/audio/openbsd/audio_manager_openbsd.h (revision 110589)
+++ media/audio/openbsd/audio_manager_openbsd.h (working copy)
@@ -5,37 +5,27 @@
#ifndef MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
#define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
-#include <set>
-
-#include "base/compiler_specific.h"
+#include "base/basictypes.h"
#include "media/audio/audio_manager_base.h"
-class MEDIA_EXPORT AudioManagerOpenBSD : public AudioManagerBase {
+class 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 AudioInputStream* MakeAudioInputStream(
+ const AudioParameters& params) OVERRIDE;
+ virtual bool IsRecordingInProgress() OVERRIDE;
virtual void MuteAll() OVERRIDE;
virtual void UnMuteAll() OVERRIDE;
- virtual void ReleaseOutputStream(AudioOutputStream* stream);
-
- protected:
+ private:
virtual ~AudioManagerOpenBSD();
- private:
- std::set<AudioOutputStream*> active_streams_;
-
DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD);
};
« no previous file with comments | « media/audio/linux/pulse_output.cc ('k') | media/audio/openbsd/audio_manager_openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698