Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |