chromium/media/base/fake_audio_renderer_sink.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/base/fake_audio_renderer_sink.h"

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/task/sequenced_task_runner.h"
#include "media/base/audio_glitch_info.h"

namespace media {

FakeAudioRendererSink::FakeAudioRendererSink()
    :{}

FakeAudioRendererSink::FakeAudioRendererSink(
    const AudioParameters& hardware_params)
    :{}

FakeAudioRendererSink::~FakeAudioRendererSink() {}

void FakeAudioRendererSink::Initialize(const AudioParameters& params,
                                       RenderCallback* callback) {}

void FakeAudioRendererSink::Start() {}

void FakeAudioRendererSink::Stop() {}

void FakeAudioRendererSink::Flush() {}

void FakeAudioRendererSink::Pause() {}

void FakeAudioRendererSink::Play() {}

bool FakeAudioRendererSink::SetVolume(double volume) {}

OutputDeviceInfo FakeAudioRendererSink::GetOutputDeviceInfo() {}

void FakeAudioRendererSink::GetOutputDeviceInfoAsync(
    OutputDeviceInfoCB info_cb) {}

bool FakeAudioRendererSink::IsOptimizedForHardwareParameters() {}

bool FakeAudioRendererSink::CurrentThreadIsRenderingThread() {}

bool FakeAudioRendererSink::Render(AudioBus* dest,
                                   base::TimeDelta delay,
                                   int* frames_written) {}

void FakeAudioRendererSink::OnRenderError() {}

void FakeAudioRendererSink::SetIsOptimizedForHardwareParameters(bool value) {}

void FakeAudioRendererSink::ChangeState(State new_state) {}

}  // namespace media