chromium/components/media_effects/test/fake_audio_system_info.cc

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

#include "components/media_effects/test/fake_audio_system_info.h"

#include <optional>
#include <utility>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/system/system_monitor.h"
#include "media/base/audio_parameters.h"

namespace media_effects {

FakeAudioSystemInfo::FakeAudioSystemInfo() = default;

FakeAudioSystemInfo::~FakeAudioSystemInfo() = default;

void FakeAudioSystemInfo::Bind(
    mojo::PendingReceiver<audio::mojom::SystemInfo> receiver) {}

void FakeAudioSystemInfo::AddFakeInputDevice(
    const media::AudioDeviceDescription& descriptor) {}

void FakeAudioSystemInfo::RemoveFakeInputDevice(const std::string& device_id) {}

void FakeAudioSystemInfo::GetInputStreamParameters(
    const std::string& device_id,
    GetInputStreamParametersCallback callback) {}

void FakeAudioSystemInfo::HasInputDevices(HasInputDevicesCallback callback) {}

void FakeAudioSystemInfo::GetInputDeviceDescriptions(
    GetInputDeviceDescriptionsCallback callback) {}

void FakeAudioSystemInfo::NotifyDevicesChanged() {}

// static
media::AudioParameters FakeAudioSystemInfo::GetAudioParameters() {}

}  // namespace media_effects