| Index: media/filters/audio_renderer_algorithm_base.h
|
| diff --git a/media/filters/audio_renderer_algorithm_base.h b/media/filters/audio_renderer_algorithm_base.h
|
| index af6381d746640988d33ba817b86b36fcc1e26b94..d2a982d2b4ffc9995f5167c880e8d7e6fed5deaa 100644
|
| --- a/media/filters/audio_renderer_algorithm_base.h
|
| +++ b/media/filters/audio_renderer_algorithm_base.h
|
| @@ -69,12 +69,17 @@ class MEDIA_EXPORT AudioRendererAlgorithmBase {
|
| // Returns whether |queue_| is empty.
|
| virtual bool IsQueueEmpty();
|
|
|
| - // Returns true if we have enough data
|
| + // Returns true if we have enough data.
|
| virtual bool IsQueueFull();
|
|
|
| - // Returns the number of bytes left in |queue_|.
|
| + // Returns the number of bytes left in |queue_|, which may be larger than
|
| + // QueueCapacity() in the event that a read callback delivered more data than
|
| + // |queue_| was intending to hold.
|
| virtual uint32 QueueSize();
|
|
|
| + // Returns the capacity of |queue_|.
|
| + virtual uint32 QueueCapacity();
|
| +
|
| // Increase the capacity of |queue_| if possible.
|
| virtual void IncreaseQueueCapacity();
|
|
|
|
|