#include "media/base/mock_audio_renderer_sink.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
namespace media {
MockAudioRendererSink::MockAudioRendererSink()
: … { … }
MockAudioRendererSink::MockAudioRendererSink(OutputDeviceStatus device_status)
: … { … }
MockAudioRendererSink::MockAudioRendererSink(const std::string& device_id,
OutputDeviceStatus device_status)
: … { … }
MockAudioRendererSink::MockAudioRendererSink(
const std::string& device_id,
OutputDeviceStatus device_status,
const AudioParameters& device_output_params)
: … { … }
MockAudioRendererSink::~MockAudioRendererSink() = default;
void MockAudioRendererSink::SwitchOutputDevice(const std::string& device_id,
OutputDeviceStatusCB callback) { … }
void MockAudioRendererSink::Initialize(const AudioParameters& params,
RenderCallback* renderer) { … }
OutputDeviceInfo MockAudioRendererSink::GetOutputDeviceInfo() { … }
void MockAudioRendererSink::GetOutputDeviceInfoAsync(
OutputDeviceInfoCB info_cb) { … }
bool MockAudioRendererSink::IsOptimizedForHardwareParameters() { … }
}