Chromium Code Reviews| Index: media/base/audio_renderer.h |
| diff --git a/media/base/audio_renderer.h b/media/base/audio_renderer.h |
| index 7d0e3d761fad8b5aacddcc566629dc6bcc3fee30..b1326c07ac819d50f590b632466de740431e049e 100644 |
| --- a/media/base/audio_renderer.h |
| +++ b/media/base/audio_renderer.h |
| @@ -39,13 +39,18 @@ class MEDIA_EXPORT AudioRenderer { |
| // |ended_cb| is executed when audio rendering has reached the end of stream. |
| // |
| // |error_cb| is executed if an error was encountered after initialization. |
| - virtual void Initialize(DemuxerStream* stream, |
| - const PipelineStatusCB& init_cb, |
| - const SetDecryptorReadyCB& set_decryptor_ready_cb, |
| - const StatisticsCB& statistics_cb, |
| - const BufferingStateCB& buffering_state_cb, |
| - const base::Closure& ended_cb, |
| - const PipelineStatusCB& error_cb) = 0; |
| + // |
| + // |waiting_for_encryption_key_cb| is executed whenever the stream needs |
|
ddorwin
2015/02/19 05:33:17
dittos
jrummell
2015/02/23 22:06:31
Done.
|
| + // a new key provided in order to decrypt the data. |
| + virtual void Initialize( |
| + DemuxerStream* stream, |
| + const PipelineStatusCB& init_cb, |
| + const SetDecryptorReadyCB& set_decryptor_ready_cb, |
| + const StatisticsCB& statistics_cb, |
| + const BufferingStateCB& buffering_state_cb, |
| + const base::Closure& ended_cb, |
| + const PipelineStatusCB& error_cb, |
| + const base::Closure& waiting_for_encryption_key_cb) = 0; |
| // Returns the TimeSource associated with audio rendering. |
| virtual TimeSource* GetTimeSource() = 0; |