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

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

Issue 8499029: make pulseaudio available for all posix platforms because it's not linux only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: re-sync with the linux code 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
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..240e973f5b913a427c7006b76df1fdea48787da8 100644
--- a/media/audio/openbsd/audio_manager_openbsd.h
+++ b/media/audio/openbsd/audio_manager_openbsd.h
@@ -5,7 +5,11 @@
#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 "base/memory/ref_counted.h"
scherkus (not reviewing) 2011/11/16 00:57:56 II don't see ref_counted.h nor thread.h used in th
Robert Nagy 2011/11/16 11:59:59 They are not needed at all. Removed.
+#include "base/threading/thread.h"
#include "media/audio/audio_manager_base.h"
class AudioManagerOpenBSD : public AudioManagerBase {
@@ -23,9 +27,13 @@ class AudioManagerOpenBSD : public AudioManagerBase {
virtual void MuteAll() OVERRIDE;
virtual void UnMuteAll() OVERRIDE;
+ virtual void ReleaseOutputStream(AudioOutputStream* stream);
+
private:
virtual ~AudioManagerOpenBSD();
+ std::set<AudioOutputStream*> active_streams_;
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD);
};

Powered by Google App Engine
This is Rietveld 408576698