chromium/services/audio/device_listener_output_stream.cc

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

#include "services/audio/device_listener_output_stream.h"

#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"

namespace audio {

DeviceListenerOutputStream::DeviceListenerOutputStream(
    media::AudioManager* audio_manager,
    media::AudioOutputStream* wrapped_stream,
    base::OnceClosure on_device_change_callback)
    :{}

DeviceListenerOutputStream::~DeviceListenerOutputStream() {}

bool DeviceListenerOutputStream::Open() {}

void DeviceListenerOutputStream::Start(
    media::AudioOutputStream::AudioSourceCallback* source_callback) {}

void DeviceListenerOutputStream::Stop() {}

void DeviceListenerOutputStream::SetVolume(double volume) {}

void DeviceListenerOutputStream::GetVolume(double* volume) {}

void DeviceListenerOutputStream::Close() {}

void DeviceListenerOutputStream::Flush() {}

void DeviceListenerOutputStream::OnDeviceChange() {}

int DeviceListenerOutputStream::OnMoreData(
    base::TimeDelta delay,
    base::TimeTicks delay_timestamp,
    const media::AudioGlitchInfo& glitch_info,

    media::AudioBus* dest) {}

int DeviceListenerOutputStream::OnMoreData(
    base::TimeDelta delay,
    base::TimeTicks delay_timestamp,
    const media::AudioGlitchInfo& glitch_info,
    media::AudioBus* dest,
    bool is_mixing) {}

void DeviceListenerOutputStream::OnError(ErrorType type) {}

void DeviceListenerOutputStream::ReportError(ErrorType type) {}

}  // namespace audio