#include "media/base/converting_audio_fifo.h"
#include <memory>
#include "base/trace_event/trace_event.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_bus_pool.h"
#include "media/base/audio_converter.h"
#include "media/base/channel_mixer.h"
namespace media {
ConvertingAudioFifo::ConvertingAudioFifo(
const AudioParameters& input_params,
const AudioParameters& converted_params)
: … { … }
ConvertingAudioFifo::~ConvertingAudioFifo() { … }
void ConvertingAudioFifo::Push(std::unique_ptr<AudioBus> input_bus) { … }
void ConvertingAudioFifo::Convert() { … }
void ConvertingAudioFifo::Flush() { … }
double ConvertingAudioFifo::ProvideInput(AudioBus* audio_bus,
uint32_t frames_delayed,
const AudioGlitchInfo& glitch_info) { … }
std::unique_ptr<AudioBus> ConvertingAudioFifo::EnsureExpectedChannelCount(
std::unique_ptr<AudioBus> audio_bus) { … }
bool ConvertingAudioFifo::HasOutput() { … }
const AudioBus* ConvertingAudioFifo::PeekOutput() { … }
void ConvertingAudioFifo::PopOutput() { … }
}