Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
AudioDecoder

Class AudioDecoder

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.

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