Chromium Code Reviews| 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..f4ce6d69a9f1b1c67efd6158cf4311c2a93b1171 |
| --- /dev/null |
| +++ b/media/audio/android/audio_manager_android.h |
| @@ -0,0 +1,32 @@ |
| +// 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" |
| + |
| +// Android implemention of AudioManager |
|
scherkus (not reviewing)
2011/12/01 17:24:13
nit: comments end w/ periods
michaelbai
2011/12/01 18:58:06
Done.
|
| +class AudioManagerAndroid : public AudioManagerBase { |
| + public: |
| + AudioManagerAndroid(); |
| + |
| + // Implementation of AudioManager. |
| + virtual bool HasAudioOutputDevices() OVERRIDE; |
| + virtual bool HasAudioInputDevices() OVERRIDE; |
| + virtual AudioOutputStream* MakeAudioOutputStream( |
| + const AudioParameters& params) OVERRIDE; |
| + virtual AudioInputStream* MakeAudioInputStream( |
| + const AudioParameters& params, const std::string& device_id) OVERRIDE; |
| + virtual void MuteAll() OVERRIDE; |
| + virtual void UnMuteAll() OVERRIDE; |
| + |
| + protected: |
| + virtual ~AudioManagerAndroid(); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid); |
| +}; |
| + |
| +#endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ |