Interface | Description |
---|---|
AudioCapabilitiesReceiver.Listener |
Listener notified when audio capabilities change.
|
AudioProcessor |
Interface for audio processors, which take audio data as input and transform it, potentially
modifying its channel count, encoding and/or sample rate.
|
AudioRendererEventListener |
Listener of audio
Renderer events. |
AudioSink |
A sink that consumes audio data.
|
AudioSink.Listener |
Listener for audio sink events.
|
Class | Description |
---|---|
Ac3Util |
Utility methods for parsing (E-)AC-3 syncframes, which are access units in (E-)AC-3 bitstreams.
|
Ac3Util.Ac3SyncFrameInfo |
Holds sample format information as presented by a syncframe header.
|
AudioAttributes |
Attributes for audio playback, which configure the underlying platform
AudioTrack . |
AudioAttributes.Builder |
Builder for
AudioAttributes . |
AudioCapabilities |
Represents the set of audio formats that a device is capable of playing.
|
AudioCapabilitiesReceiver |
Receives broadcast events indicating changes to the device's audio capabilities, notifying a
AudioCapabilitiesReceiver.Listener when audio capability changes occur. |
AudioRendererEventListener.EventDispatcher |
Dispatches events to a
AudioRendererEventListener . |
DefaultAudioSink |
Plays audio data.
|
DtsUtil |
Utility methods for parsing DTS frames.
|
MediaCodecAudioRenderer |
Decodes and renders audio using
MediaCodec and an AudioSink . |
SimpleDecoderAudioRenderer |
Decodes and renders audio using a
SimpleDecoder . |
SonicAudioProcessor |
An
AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate. |
Exception | Description |
---|---|
AudioDecoderException |
Thrown when an audio decoder error occurs.
|
AudioProcessor.UnhandledFormatException |
Exception thrown when a processor can't be configured for a given input audio format.
|
AudioSink.ConfigurationException |
Thrown when a failure occurs configuring the sink.
|
AudioSink.InitializationException |
Thrown when a failure occurs initializing the sink.
|
AudioSink.WriteException |
Thrown when a failure occurs writing to the sink.
|
DefaultAudioSink.InvalidAudioTrackTimestampException |
Thrown when
AudioTrack.getTimestamp(android.media.AudioTimestamp) returns a spurious timestamp, if
DefaultAudioSink.failOnSpuriousAudioTimestamp is set. |