Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class AudioDecoderCompat

Hierarchy

java.lang.Object
     com.smartdevicelink.managers.audio.BaseAudioDecoder

Package
com.smartdevicelink.managers.audio

Overview

The audio decoder to decode a single audio file to PCM. This decoder supports phones with api < 21 but uses methods deprecated with api 21.

Quick Jump

Methods

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.managers.audio.BaseAudioDecoder targetSampleRate, targetSampleType, extractor, decoder, audioSource, contextWeakReference, listener

Methods

start()

Starts the audio decoding asynchronously.

public void start()

Inherited Methods

From Class Methods
com.smartdevicelink.managers.audio.BaseAudioDecoder initMediaComponents, onInputBufferAvailable, onOutputBufferAvailable, onOutputFormatChanged, onMediaCodecError, start, stop
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section