| Index: media/base/audio_fifo.h
|
| diff --git a/media/base/audio_fifo.h b/media/base/audio_fifo.h
|
| index 83680b45bd9f58a1e302024cce633201f1c1e262..79222b84d5681f9351d522097990e67e8a13e375 100644
|
| --- a/media/base/audio_fifo.h
|
| +++ b/media/base/audio_fifo.h
|
| @@ -23,13 +23,13 @@ class MEDIA_EXPORT AudioFifo {
|
| // Pushes all audio channel data from |source| to the FIFO.
|
| // Returns false if the allocated space is not sufficient. Partial data is
|
| // not written to the FIFO for this overflow case.
|
| - bool Push(const AudioBus* source);
|
| + bool Push(const AudioBus* source, int frames);
|
|
|
| // Consumes |frames_to_consume| audio frames from the FIFO and copies
|
| // them to |destination|.
|
| // Returns false if the FIFO does not contain |frames_to_consume| frames
|
| // or if there is not sufficient space in |destination| to store the frames.
|
| - bool Consume(AudioBus* destination, int frames_to_consume);
|
| + bool Consume(AudioBus* destination, int start_frame, int frames_to_consume);
|
|
|
| // Empties the FIFO without deallocating any memory.
|
| void Clear();
|
|
|