chromium/media/audio/mock_audio_manager.cc

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

#include "media/audio/mock_audio_manager.h"

#include <utility>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "media/audio/mock_audio_debug_recording_manager.h"
#include "media/base/audio_parameters.h"

namespace media {

MockAudioManager::MockAudioManager(std::unique_ptr<AudioThread> audio_thread)
    :{}

MockAudioManager::~MockAudioManager() = default;

void MockAudioManager::ShutdownOnAudioThread() {}

bool MockAudioManager::HasAudioOutputDevices() {}

bool MockAudioManager::HasAudioInputDevices() {}

void MockAudioManager::GetAudioInputDeviceDescriptions(
    AudioDeviceDescriptions* device_descriptions) {}

void MockAudioManager::GetAudioOutputDeviceDescriptions(
    AudioDeviceDescriptions* device_descriptions) {}

media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream(
    const media::AudioParameters& params,
    const std::string& device_id,
    const LogCallback& log_callback) {}

media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy(
    const media::AudioParameters& params,
    const std::string& device_id) {}

media::AudioInputStream* MockAudioManager::MakeAudioInputStream(
    const media::AudioParameters& params,
    const std::string& device_id,
    const LogCallback& log_callback) {}

void MockAudioManager::AddOutputDeviceChangeListener(
    AudioDeviceListener* listener) {}

void MockAudioManager::RemoveOutputDeviceChangeListener(
    AudioDeviceListener* listener) {}

AudioParameters MockAudioManager::GetOutputStreamParameters(
      const std::string& device_id) {}

AudioParameters MockAudioManager::GetInputStreamParameters(
    const std::string& device_id) {}

std::string MockAudioManager::GetAssociatedOutputDeviceID(
    const std::string& input_device_id) {}

std::string MockAudioManager::GetDefaultInputDeviceID() {}
std::string MockAudioManager::GetDefaultOutputDeviceID() {}
std::string MockAudioManager::GetCommunicationsInputDeviceID() {}
std::string MockAudioManager::GetCommunicationsOutputDeviceID() {}

std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog(
    AudioLogFactory::AudioComponent component,
    int component_id) {}

void MockAudioManager::InitializeDebugRecording() {}

AudioDebugRecordingManager* MockAudioManager::GetAudioDebugRecordingManager() {}

void MockAudioManager::SetAecDumpRecordingManager(
    base::WeakPtr<AecdumpRecordingManager>) {}

const char* MockAudioManager::GetName() {}

void MockAudioManager::SetMakeOutputStreamCB(MakeOutputStreamCallback cb) {}

void MockAudioManager::SetMakeInputStreamCB(MakeInputStreamCallback cb) {}

void MockAudioManager::SetInputStreamParameters(const AudioParameters& params) {}

void MockAudioManager::SetOutputStreamParameters(
    const AudioParameters& params) {}

void MockAudioManager::SetDefaultOutputStreamParameters(
    const AudioParameters& params) {}

void MockAudioManager::SetHasInputDevices(bool has_input_devices) {}

void MockAudioManager::SetHasOutputDevices(bool has_output_devices) {}

void MockAudioManager::SetInputDeviceDescriptionsCallback(
    GetDeviceDescriptionsCallback callback) {}

void MockAudioManager::SetOutputDeviceDescriptionsCallback(
    GetDeviceDescriptionsCallback callback) {}

void MockAudioManager::SetAssociatedOutputDeviceIDCallback(
    GetAssociatedOutputDeviceIDCallback callback) {}

}  // namespace media.