Index: media/base/audio_block_fifo.h |
diff --git a/media/base/audio_block_fifo.h b/media/base/audio_block_fifo.h |
index fdb5cef6225664dc81974a30764c1bee983813c4..94786b9eb5c270b0575d51fce0ca9ddcca864553 100644 |
--- a/media/base/audio_block_fifo.h |
+++ b/media/base/audio_block_fifo.h |
@@ -45,10 +45,16 @@ class MEDIA_EXPORT AudioBlockFifo { |
// Number of unfilled frames in the whole FIFO. |
int GetUnfilledFrames() const; |
+ // Dynamically increase |blocks| of memory to the FIFO. |
+ void IncreaseCapacity(int blocks); |
+ |
private: |
// The actual FIFO is a vector of audio buses. |
ScopedVector<AudioBus> audio_blocks_; |
+ // Number of channels in AudioBus. |
+ const int channels_; |
+ |
// Maximum number of frames of data one block of memory can contain. |
// This value is set by |frames| in the constructor. |
const int block_frames_; |