chromium/services/audio/test/fake_loopback_group_member.cc

// Copyright 2018 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "services/audio/test/fake_loopback_group_member.h"

#include <algorithm>
#include <cmath>
#include <numbers>
#include <string>

#include "media/audio/audio_device_description.h"
#include "media/base/audio_bus.h"

namespace audio {

FakeLoopbackGroupMember::FakeLoopbackGroupMember(
    const media::AudioParameters& params)
    :{}

FakeLoopbackGroupMember::~FakeLoopbackGroupMember() = default;

void FakeLoopbackGroupMember::SetChannelTone(int ch, double frequency) {}

void FakeLoopbackGroupMember::SetVolume(double volume) {}

void FakeLoopbackGroupMember::RenderMoreAudio(
    base::TimeTicks output_timestamp) {}

const media::AudioParameters& FakeLoopbackGroupMember::GetAudioParameters()
    const {}

void FakeLoopbackGroupMember::StartSnooping(Snooper* snooper) {}

void FakeLoopbackGroupMember::StopSnooping(Snooper* snooper) {}

void FakeLoopbackGroupMember::StartMuting() {}

void FakeLoopbackGroupMember::StopMuting() {}

}  // namespace audio