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

Side by Side 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 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
6 #define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
7
8 #include "media/audio/audio_manager_base.h"
9
10 class AudioManagerAndroid : public AudioManagerBase {
John Grabowski 2011/11/29 19:43:31 Class level comment, always
michaelbai 2011/11/30 17:20:34 Done.
11 public:
12 AudioManagerAndroid();
13
14 // Call before using a newly created AudioManagerAndroid instance.
15 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.
16
17 // Implementation of AudioManager.
18 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.
19 virtual bool HasAudioInputDevices();
20 virtual AudioOutputStream* MakeAudioOutputStream(
21 const AudioParameters& params);
22 virtual AudioInputStream* MakeAudioInputStream(
23 const AudioParameters& params);
24
25 virtual void MuteAll();
26 virtual void UnMuteAll();
27
28 protected:
29 virtual ~AudioManagerAndroid();
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid);
33 };
34
35 #endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
OLDNEW
« 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