Chromium Code Reviews| Index: media/audio/audio_output_controller.h |
| diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h |
| index 856716f7774f943f9342b1c951d53eef6fce6091..ae92d80aabf662ce23175fe6635de11932a4cde0 100644 |
| --- a/media/audio/audio_output_controller.h |
| +++ b/media/audio/audio_output_controller.h |
| @@ -88,14 +88,14 @@ class MEDIA_EXPORT AudioOutputController |
| public: |
| virtual ~SyncReader() {} |
| - // Notify the synchronous reader the number of bytes in the |
| - // AudioOutputController not yet played. This is used by SyncReader to |
| - // prepare more data and perform synchronization. Also inform about if any |
| - // frames has been skipped by the renderer (typically the OS). The renderer |
| - // source can handle this appropriately depending on the type of source. An |
| - // ordinary file playout would ignore this. |
| - virtual void UpdatePendingBytes(uint32_t bytes, |
| - uint32_t frames_skipped) = 0; |
| + // This is used by SyncReader to prepare more data and perform |
| + // synchronization. Also inform about output delay at a certain moment and |
| + // if any frames has been skipped by the renderer (typically the OS). The |
|
James West
2016/10/24 21:05:45
"has been" => "have been"
Mikhail
2016/10/25 07:46:10
Done.
|
| + // renderer source can handle this appropriately depending on the type of |
| + // source. An ordinary file playout would ignore this. |
| + virtual void RequestMoreData(base::TimeDelta delay, |
| + base::TimeTicks delay_timestamp, |
| + uint32_t prior_frames_skipped) = 0; |
| // Attempts to completely fill |dest|, zeroing |dest| if the request can not |
| // be fulfilled (due to timeout). |