Index: media/filters/audio_renderer_impl.h |
diff --git a/media/filters/audio_renderer_impl.h b/media/filters/audio_renderer_impl.h |
index 3be42f8fa9ca68056dc0e506e90e6e9481236581..1121115f074b81d737732cf0a76742d14e722b17 100644 |
--- a/media/filters/audio_renderer_impl.h |
+++ b/media/filters/audio_renderer_impl.h |
@@ -73,7 +73,12 @@ class MEDIA_EXPORT AudioRendererImpl |
FRIEND_TEST_ALL_PREFIXES(AudioRendererImplTest, Underflow_EndOfStream); |
// Callback from the audio decoder delivering decoded audio samples. |
- void DecodedAudioReady(scoped_refptr<Buffer> buffer); |
+ void DecodedAudioReady(AudioDecoder::Status status, |
+ const scoped_refptr<Buffer>& buffer); |
+ |
+ // Helper functions for AudioDecoder::Status values passed to |
+ // DecodedAudioReady(). |
+ void HandleAbortedReadOrDecodeError(bool is_decode_error); |
// Fills the given buffer with audio data by delegating to its |algorithm_|. |
// FillBuffer() also takes care of updating the clock. Returns the number of |