Chromium Code Reviews| 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..81abfef5dd011772f5c4a1623f82f569d38ae4c4 100644 |
| --- a/media/filters/audio_renderer_impl.h |
| +++ b/media/filters/audio_renderer_impl.h |
| @@ -73,7 +73,13 @@ 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 HandleDecodeError(); |
| + void HandleAbortedRead(); |
|
Ami GONE FROM CHROMIUM
2012/07/12 17:10:26
swap order of these two to match enum
acolwell GONE FROM CHROMIUM
2012/07/12 21:59:58
Done.
|
| // Fills the given buffer with audio data by delegating to its |algorithm_|. |
| // FillBuffer() also takes care of updating the clock. Returns the number of |