Interface Summary Interface Description AudioCapabilitiesReceiver.ListenerListener notified when audio capabilities change. AudioListener Deprecated.Use
AudioProcessorInterface for audio processors, which take audio data as input and transform it, potentially modifying its channel count, encoding and/or sample rate. AudioRendererEventListenerListener of audio
AudioSinkA sink that consumes audio data. AudioSink.ListenerListener for audio sink events. DefaultAudioSink.AudioProcessorChainProvides a chain of audio processors, which are used for any user-defined processing and applying playback parameters (if supported). TeeAudioProcessor.AudioBufferSinkA sink for audio buffers handled by the audio processor.
Class Summary Class Description AacUtilUtility methods for handling AAC audio streams. AacUtil.ConfigHolds sample format information for AAC audio. Ac3UtilUtility methods for parsing Dolby TrueHD and (E-)AC-3 syncframes. Ac3Util.SyncFrameInfoHolds sample format information as presented by a syncframe header. Ac4UtilUtility methods for parsing AC-4 frames, which are access units in AC-4 bitstreams. Ac4Util.SyncFrameInfoHolds sample format information as presented by a syncframe header. AudioAttributesAttributes for audio playback, which configure the underlying platform
AudioCapabilitiesRepresents the set of audio formats that a device is capable of playing. AudioCapabilitiesReceiverReceives broadcast events indicating changes to the device's audio capabilities, notifying a
AudioCapabilitiesReceiver.Listenerwhen audio capability changes occur.
AudioProcessor.AudioFormatPCM audio format that may be handled by an audio processor. AudioRendererEventListener.EventDispatcherDispatches events to an
AuxEffectInfoRepresents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying
BaseAudioProcessorBase class for audio processors that keep an output buffer and an internal buffer that is reused whenever input is queued. DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,? extends SimpleOutputBuffer,? extends DecoderException>>Decodes and renders audio using a
DefaultAudioSinkPlays audio data. DefaultAudioSink.DefaultAudioProcessorChain DtsUtilUtility methods for parsing DTS frames. ForwardingAudioSinkAn overridable
AudioSinkimplementation forwarding all methods to another sink.
MediaCodecAudioRenderer MpegAudioUtilUtility methods for handling MPEG audio streams. MpegAudioUtil.HeaderStores the metadata for an MPEG audio frame. OpusUtilUtility methods for handling Opus audio streams. SilenceSkippingAudioProcessorAn
AudioProcessorthat skips silence in the input stream.
AudioProcessorthat uses the Sonic library to modify audio speed/pitch/sample rate.
TeeAudioProcessorAudio processor that outputs its input unmodified and also outputs its input to a given sink. TeeAudioProcessor.WavFileAudioBufferSinkA sink for audio buffers that writes output audio as .wav files with a given path prefix. WavUtilUtilities for handling WAVE files.
Exception Summary Exception Description AudioProcessor.UnhandledAudioFormatExceptionException thrown when a processor can't be configured for a given input audio format. AudioSink.ConfigurationExceptionThrown when a failure occurs configuring the sink. AudioSink.InitializationExceptionThrown when a failure occurs initializing the sink. AudioSink.UnexpectedDiscontinuityExceptionThrown when the sink encounters an unexpected timestamp discontinuity. AudioSink.WriteExceptionThrown when a failure occurs writing to the sink. DefaultAudioSink.InvalidAudioTrackTimestampExceptionThrown when the audio track has provided a spurious timestamp, if
Annotation Types Summary Annotation Type Description AacUtil.AacAudioObjectTypeValid AAC Audio object types. Ac3Util.SyncFrameInfo.StreamTypeAC3 stream types. AudioSink.SinkFormatSupportThe level of support the sink provides for a format. DefaultAudioSink.OffloadModeAudio offload mode configuration.