Index: media/base/audio_decoder.h |
diff --git a/media/base/audio_decoder.h b/media/base/audio_decoder.h |
index 44e79a4d5b31c0fd976484c2281cce60e1eeca17..90b7ac466aa37f25ef527dd7c077aed132fc0a19 100644 |
--- a/media/base/audio_decoder.h |
+++ b/media/base/audio_decoder.h |
@@ -56,9 +56,13 @@ class MEDIA_EXPORT AudioDecoder { |
// callback upon completion. |
// |statistics_cb| is used to update global pipeline statistics. |
// |output_cb| is called for decoded audio buffers (see Decode()). |
- virtual void Initialize(const AudioDecoderConfig& config, |
- const PipelineStatusCB& status_cb, |
- const OutputCB& output_cb) = 0; |
+ // |waiting_for_encryption_key_cb| is called whenever a new key needs to be |
ddorwin
2015/02/19 05:33:17
...whenever the key needed to decrypt the stream i
jrummell
2015/02/23 22:06:31
Done.
|
+ // provided in order to decrypt the stream. |
+ virtual void Initialize( |
+ const AudioDecoderConfig& config, |
+ const PipelineStatusCB& status_cb, |
+ const OutputCB& output_cb, |
+ const base::Closure& waiting_for_encryption_key_cb) = 0; |
ddorwin
2015/02/19 05:33:17
s/encryption/decryption/
jrummell
2015/02/23 22:06:31
Done.
|
// Requests samples to be decoded. Only one decode may be in flight at any |
// given time. Once the buffer is decoded the decoder calls |decode_cb|. |