package

androidx.media3.exoplayer.audio

Interfaces

AudioCapabilitiesReceiver.ListenerListener notified when audio capabilities change.
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 Renderer events.
AudioSinkA sink that consumes audio data.
AudioSink.ListenerListener for audio sink events.
DefaultAudioSink.AudioOffloadSupportProviderProvides the AudioOffloadSupport to convey the level of offload support the sink can provide.
DefaultAudioSink.AudioProcessorChain
DefaultAudioSink.AudioTrackBufferSizeProviderProvides the buffer size to use when creating an AudioTrack.
TeeAudioProcessor.AudioBufferSinkA sink for audio buffers handled by the audio processor.
WaveformAudioBufferSink.ListenerListener for the audio waveform generation.

Classes

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.Listener when audio capability changes occur.
AudioOffloadSupportRepresents the support capabilities for audio offload playback.
AudioOffloadSupport.BuilderA builder to create AudioOffloadSupport instances.
AudioProcessor.AudioFormatPCM audio format that may be handled by an audio processor.
AudioRendererEventListener.EventDispatcherDispatches events to an AudioRendererEventListener.
AudioSink.AudioTrackConfigConfiguration parameters used for an AudioTrack.
BaseAudioProcessor
DecoderAudioRenderer<T>Decodes and renders audio using a Decoder.
DefaultAudioOffloadSupportProviderProvides the AudioOffloadSupport capabilities for a Format and AudioAttributes.
DefaultAudioSinkPlays audio data.
DefaultAudioSink.BuilderA builder to create DefaultAudioSink instances.
DefaultAudioSink.DefaultAudioProcessorChainThe default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
DefaultAudioTrackBufferSizeProviderProvide the buffer size to use when creating an AudioTrack.
DefaultAudioTrackBufferSizeProvider.BuilderA builder to create DefaultAudioTrackBufferSizeProvider instances.
ForwardingAudioSinkAn overridable AudioSink implementation forwarding all methods to another sink.
MediaCodecAudioRendererDecodes and renders audio using MediaCodec and an AudioSink.
OggOpusAudioPacketizerA packetizer that encapsulates Opus audio encodings in Ogg packets.
SilenceSkippingAudioProcessorAn AudioProcessor that skips silence in the input stream.
SonicAudioProcessor
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.
WaveformAudioBufferSinkA sink for audio buffers that produces waveform bars.
WaveformAudioBufferSink.WaveformBarAggregates a group of audio samples.

Annotation Types

AudioSink.OffloadModeAudio offload mode configuration.
AudioSink.SinkFormatSupportThe level of support the sink provides for a format.
DefaultAudioSink.OutputModeOutput mode of the audio sink.