#include "services/audio/sync_mixing_graph_input.h"
#include "base/trace_event/trace_event.h"
#include "media/base/audio_pull_fifo.h"
#include "media/base/audio_timestamp_helper.h"
namespace audio {
SyncMixingGraphInput::SyncMixingGraphInput(MixingGraph* graph,
const media::AudioParameters& params)
: … { … }
SyncMixingGraphInput::~SyncMixingGraphInput() { … }
double SyncMixingGraphInput::ProvideInput(
media::AudioBus* audio_bus,
uint32_t frames_delayed,
const media::AudioGlitchInfo& glitch_info) { … }
const media::AudioParameters& SyncMixingGraphInput::GetParams() const { … }
void SyncMixingGraphInput::SetVolume(double volume) { … }
void SyncMixingGraphInput::Start(
media::AudioOutputStream::AudioSourceCallback* source_callback) { … }
void SyncMixingGraphInput::Stop() { … }
void SyncMixingGraphInput::Render(int fifo_frame_delay,
media::AudioBus* audio_bus) { … }
}