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

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: Address comments 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 // Android implemention of AudioManager.
11 class AudioManagerAndroid : public AudioManagerBase {
12 public:
13 AudioManagerAndroid();
14
15 // Implementation of AudioManager.
16 virtual bool HasAudioOutputDevices() OVERRIDE;
17 virtual bool HasAudioInputDevices() OVERRIDE;
18 virtual AudioOutputStream* MakeAudioOutputStream(
19 const AudioParameters& params) OVERRIDE;
20 virtual AudioInputStream* MakeAudioInputStream(
21 const AudioParameters& params, const std::string& device_id) OVERRIDE;
22 virtual void MuteAll() OVERRIDE;
23 virtual void UnMuteAll() OVERRIDE;
24
25 protected:
26 virtual ~AudioManagerAndroid();
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid);
30 };
31
32 #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_track_output_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698