chromium/media/base/offloading_audio_encoder.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 "media/base/offloading_audio_encoder.h"

#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"

namespace media {

OffloadingAudioEncoder::OffloadingAudioEncoder(
    std::unique_ptr<AudioEncoder> wrapped_encoder,
    const scoped_refptr<base::SequencedTaskRunner> work_runner,
    const scoped_refptr<base::SequencedTaskRunner> callback_runner)
    :{}

OffloadingAudioEncoder::OffloadingAudioEncoder(
    std::unique_ptr<AudioEncoder> wrapped_encoder)
    :{}

void OffloadingAudioEncoder::Initialize(const Options& options,
                                        OutputCB output_cb,
                                        EncoderStatusCB done_cb) {}

void OffloadingAudioEncoder::Encode(std::unique_ptr<AudioBus> audio_bus,
                                    base::TimeTicks capture_time,
                                    EncoderStatusCB done_cb) {}

void OffloadingAudioEncoder::Flush(EncoderStatusCB done_cb) {}

OffloadingAudioEncoder::~OffloadingAudioEncoder() {}

template <class T>
T OffloadingAudioEncoder::WrapCallback(T cb) {}

}  // namespace media