chromium/media/base/audio_encoder.cc

// Copyright 2020 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/base/audio_encoder.h"

#include "base/containers/heap_array.h"
#include "base/logging.h"
#include "base/task/bind_post_task.h"
#include "base/time/time.h"
#include "media/base/audio_timestamp_helper.h"

namespace media {

AudioEncoder::Options::Options() = default;
AudioEncoder::Options::Options(const Options&) = default;
AudioEncoder::Options::~Options() = default;

EncodedAudioBuffer::EncodedAudioBuffer() = default;
EncodedAudioBuffer::EncodedAudioBuffer(const AudioParameters& params,
                                       base::HeapArray<uint8_t> data,
                                       base::TimeTicks timestamp,
                                       base::TimeDelta duration)
    :{}

EncodedAudioBuffer::EncodedAudioBuffer(EncodedAudioBuffer&&) = default;
EncodedAudioBuffer& EncodedAudioBuffer::operator=(EncodedAudioBuffer&&) =
    default;

EncodedAudioBuffer::~EncodedAudioBuffer() = default;

AudioEncoder::AudioEncoder() {}

AudioEncoder::~AudioEncoder() {}

void AudioEncoder::DisablePostedCallbacks() {}

AudioEncoder::OutputCB AudioEncoder::BindCallbackToCurrentLoopIfNeeded(
    OutputCB&& callback) {}

AudioEncoder::EncoderStatusCB AudioEncoder::BindCallbackToCurrentLoopIfNeeded(
    EncoderStatusCB&& callback) {}

}  // namespace media