// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/media/cma/decoder/cast_audio_decoder.h" #include "base/logging.h" namespace chromecast { namespace media { // static scoped_ptr CastAudioDecoder::Create( const scoped_refptr& task_runner, const media::AudioConfig& config, OutputFormat output_format, const InitializedCallback& initialized_callback) { return scoped_ptr(); } // static int CastAudioDecoder::OutputFormatSizeInBytes( CastAudioDecoder::OutputFormat format) { switch (format) { case CastAudioDecoder::OutputFormat::kOutputSigned16: return 2; case CastAudioDecoder::OutputFormat::kOutputPlanarFloat: return 4; } NOTREACHED(); return 1; } } // namespace media } // namespace chromecast