| Index: media/audio/android/opensles_output.h
|
| diff --git a/media/audio/android/opensles_output.h b/media/audio/android/opensles_output.h
|
| index c2be0b266b44c551e0bd090711db314597848256..a14be9c6a1fd3ef4d72980404f248340b95e5321 100644
|
| --- a/media/audio/android/opensles_output.h
|
| +++ b/media/audio/android/opensles_output.h
|
| @@ -16,8 +16,8 @@
|
| #include "base/macros.h"
|
| #include "base/synchronization/lock.h"
|
| #include "base/threading/thread_checker.h"
|
| +#include "media/audio/android/muteable_audio_output_stream.h"
|
| #include "media/audio/android/opensles_util.h"
|
| -#include "media/audio/audio_io.h"
|
| #include "media/base/audio_parameters.h"
|
| #include "media/base/audio_timestamp_helper.h"
|
|
|
| @@ -29,7 +29,7 @@ class AudioManagerAndroid;
|
| // This class is created and lives on the Audio Manager thread but recorded
|
| // audio buffers are given to us from an internal OpenSLES audio thread.
|
| // All public methods should be called on the Audio Manager thread.
|
| -class OpenSLESOutputStream : public AudioOutputStream {
|
| +class OpenSLESOutputStream : public MuteableAudioOutputStream {
|
| public:
|
| static const int kMaxNumOfBuffersInQueue = 2;
|
|
|
| @@ -39,7 +39,7 @@ class OpenSLESOutputStream : public AudioOutputStream {
|
|
|
| ~OpenSLESOutputStream() override;
|
|
|
| - // Implementation of AudioOutputStream.
|
| + // Implementation of MuteableAudioOutputStream.
|
| bool Open() override;
|
| void Close() override;
|
| void Start(AudioSourceCallback* callback) override;
|
| @@ -49,7 +49,7 @@ class OpenSLESOutputStream : public AudioOutputStream {
|
|
|
| // Set the value of |muted_|. It does not affect |volume_| which can be
|
| // got by calling GetVolume(). See comments for |muted_| below.
|
| - void SetMute(bool muted);
|
| + void SetMute(bool muted) override;
|
|
|
| private:
|
| bool CreatePlayer();
|
|
|