chromium/media/audio/pulse/pulse_output.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/pulse/pulse_output.h"

#include <pulse/pulseaudio.h>
#include <stdint.h>

#include "base/compiler_specific.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "base/trace_event/typed_macros.h"
#include "media/audio/audio_device_description.h"
#include "media/audio/audio_manager_base.h"
#include "media/audio/pulse/pulse_util.h"
#include "media/base/audio_sample_types.h"

namespace media {

AutoPulseLock;
WaitForOperationCompletion;

// static, pa_stream_notify_cb
void PulseAudioOutputStream::StreamNotifyCallback(pa_stream* s, void* p_this) {}

// static, pa_stream_request_cb_t
void PulseAudioOutputStream::StreamRequestCallback(pa_stream* s, size_t len,
                                                   void* p_this) {}

PulseAudioOutputStream::PulseAudioOutputStream(
    const AudioParameters& params,
    const std::string& device_id,
    AudioManagerBase* manager,
    AudioManager::LogCallback log_callback)
    :{}

PulseAudioOutputStream::~PulseAudioOutputStream() {}

bool PulseAudioOutputStream::Open() {}

void PulseAudioOutputStream::Reset() {}

void PulseAudioOutputStream::Close() {}

// This stream is always used with sub second buffer sizes, where it's
// sufficient to simply always flush upon Start().
void PulseAudioOutputStream::Flush() {}

void PulseAudioOutputStream::SendLogMessage(const char* format, ...) {}

void PulseAudioOutputStream::FulfillWriteRequest(size_t requested_bytes) {}

void PulseAudioOutputStream::Start(AudioSourceCallback* callback) {}

void PulseAudioOutputStream::Stop() {}

void PulseAudioOutputStream::SetVolume(double volume) {}

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

}  // namespace media