chromium/media/mojo/clients/mojo_audio_decoder.cc

// Copyright 2016 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/mojo/clients/mojo_audio_decoder.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/task/sequenced_task_runner.h"
#include "build/build_config.h"
#include "media/base/audio_buffer.h"
#include "media/base/cdm_context.h"
#include "media/base/demuxer_stream.h"
#include "media/mojo/clients/mojo_media_log_service.h"
#include "media/mojo/common/media_type_converters.h"
#include "media/mojo/common/mojo_decoder_buffer_converter.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"

namespace media {

MojoAudioDecoder::MojoAudioDecoder(
    scoped_refptr<base::SequencedTaskRunner> task_runner,
    MediaLog* media_log,
    mojo::PendingRemote<mojom::AudioDecoder> remote_decoder)
    :{}

MojoAudioDecoder::~MojoAudioDecoder() {}

bool MojoAudioDecoder::IsPlatformDecoder() const {}

bool MojoAudioDecoder::SupportsDecryption() const {}

AudioDecoderType MojoAudioDecoder::GetDecoderType() const {}

void MojoAudioDecoder::FailInit(InitCB init_cb, DecoderStatus err) {}

void MojoAudioDecoder::Initialize(const AudioDecoderConfig& config,
                                  CdmContext* cdm_context,
                                  InitCB init_cb,
                                  const OutputCB& output_cb,
                                  const WaitingCB& waiting_cb) {}

void MojoAudioDecoder::Decode(scoped_refptr<DecoderBuffer> media_buffer,
                              DecodeCB decode_cb) {}

void MojoAudioDecoder::Reset(base::OnceClosure closure) {}

bool MojoAudioDecoder::NeedsBitstreamConversion() const {}

void MojoAudioDecoder::BindRemoteDecoder() {}

void MojoAudioDecoder::OnBufferDecoded(mojom::AudioBufferPtr buffer) {}

void MojoAudioDecoder::OnWaiting(WaitingReason reason) {}

void MojoAudioDecoder::OnConnectionError() {}

void MojoAudioDecoder::OnInitialized(const DecoderStatus& status,
                                     bool needs_bitstream_conversion,
                                     AudioDecoderType decoder_type) {}

void MojoAudioDecoder::OnDecodeStatus(const DecoderStatus& status) {}

void MojoAudioDecoder::OnResetDone() {}

}  // namespace media