// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_BASE_AUDIO_PULL_FIFO_H_ #define MEDIA_BASE_AUDIO_PULL_FIFO_H_ #include <memory> #include "base/functional/callback.h" #include "media/base/media_export.h" namespace media { class AudioBus; // A FIFO (First In First Out) buffer to handle mismatches in buffer sizes // between a producer and consumer. The consumer will pull data from this FIFO. // If data is already available in the FIFO, it is provided to the consumer. // If insufficient data is available to satisfy the request, the FIFO will ask // the producer for more data to fulfill a request. class MEDIA_EXPORT AudioPullFifo { … }; } // namespace media #endif // MEDIA_BASE_AUDIO_PULL_FIFO_H_