Index: media/base/audio_decoder.h |
diff --git a/media/base/audio_decoder.h b/media/base/audio_decoder.h |
index 285d91b952ef6dd6828bc4944aaba345999ee889..05c6ae34cd037357146f5e2a2a90ec0c040da3a0 100644 |
--- a/media/base/audio_decoder.h |
+++ b/media/base/audio_decoder.h |
@@ -30,7 +30,9 @@ class MEDIA_EXPORT AudioDecoder { |
kDecryptError // Decrypting error happened. |
}; |
- // Callback to return decoded buffers. |
+ // Callback for AudioDecoder to return a decoded frame whenever it becomes |
+ // available. Only valid frames should be returned via this callback. EOS |
+ // frames should not be returned via this callback. |
Sergey Ulanov
2014/06/16 23:49:32
nit: the last two sentences can be reduced to one.
xhwang
2014/06/17 18:56:35
Done.
|
typedef base::Callback<void(const scoped_refptr<AudioBuffer>&)> OutputCB; |
// Callback for Decode(). Called after the decoder has completed decoding |