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

Unified Diff: media/audio/android/audio_manager_android.h

Issue 8718014: Upstream: Media implementation for Android. (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
Index: media/audio/android/audio_manager_android.h
diff --git a/media/audio/android/audio_manager_android.h b/media/audio/android/audio_manager_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..15955deef1bb92c84acba376c501325c76905b41
--- /dev/null
+++ b/media/audio/android/audio_manager_android.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
+#define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
+
+#include "media/audio/audio_manager_base.h"
+
+class AudioManagerAndroid : public AudioManagerBase {
John Grabowski 2011/11/29 19:43:31 Class level comment, always
michaelbai 2011/11/30 17:20:34 Done.
+ public:
+ AudioManagerAndroid();
+
+ // Call before using a newly created AudioManagerAndroid instance.
+ virtual void Init();
scherkus (not reviewing) 2011/11/29 20:00:28 why do you need this method if the impl only calls
michaelbai 2011/11/30 17:20:34 Done.
+
+ // Implementation of AudioManager.
+ virtual bool HasAudioOutputDevices();
scherkus (not reviewing) 2011/11/29 20:00:28 OVERRIDE on all overridden virtual methods
michaelbai 2011/11/30 17:20:34 Done.
+ virtual bool HasAudioInputDevices();
+ virtual AudioOutputStream* MakeAudioOutputStream(
+ const AudioParameters& params);
+ virtual AudioInputStream* MakeAudioInputStream(
+ const AudioParameters& params);
+
+ virtual void MuteAll();
+ virtual void UnMuteAll();
+
+ protected:
+ virtual ~AudioManagerAndroid();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid);
+};
+
+#endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
« no previous file with comments | « no previous file | media/audio/android/audio_manager_android.cc » ('j') | media/audio/android/audio_manager_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698