| Index: media/renderers/audio_renderer_impl.h
|
| diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
|
| index c036727f35adfc078d5a0dbbc220385298e1a9dc..d628b9ada6edd16cba3c5ada3dc5234803b11616 100644
|
| --- a/media/renderers/audio_renderer_impl.h
|
| +++ b/media/renderers/audio_renderer_impl.h
|
| @@ -121,6 +121,9 @@ class MEDIA_EXPORT AudioRendererImpl
|
| kPlaying
|
| };
|
|
|
| + // Callback for audio decoder to report statistics.
|
| + void BytesDecoded(uint64_t bytes);
|
| +
|
| // Callback from the audio decoder delivering decoded audio samples.
|
| void DecodedAudioReady(AudioBufferStream::Status status,
|
| const scoped_refptr<AudioBuffer>& buffer);
|
| @@ -231,6 +234,9 @@ class MEDIA_EXPORT AudioRendererImpl
|
| // Overridable tick clock for testing.
|
| std::unique_ptr<base::TickClock> tick_clock_;
|
|
|
| + // Bytes decoded since the last time statistics was reported.
|
| + uint64_t bytes_decoded_;
|
| +
|
| // Memory usage of |algorithm_| recorded during the last
|
| // HandleSplicerBuffer_Locked() call.
|
| int64_t last_audio_memory_usage_;
|
|
|