androidx.media3.exoplayer.audio
Annotations
AudioOutputProvider.SupportLevel |
The level of support the provider has for a format. |
AudioSink.OffloadMode |
Audio offload mode configuration. |
AudioSink.SinkFormatSupport |
The level of support the sink provides for a format. |
DefaultAudioSink.OutputMode |
Output mode of the audio sink. |
Interfaces
AudioCapabilitiesReceiver.Listener |
Listener notified when audio capabilities change. |
AudioOutput |
An interface to wrap an object that can play audio, like an |
AudioOutput.Listener |
Listener for |
AudioOutputProvider |
A provider for |
AudioOutputProvider.Listener |
Listener for |
AudioRendererEventListener |
Listener of audio |
AudioSink |
A sink that consumes audio data. |
AudioSink.Listener |
Listener for audio sink events. |
DefaultAudioSink.AudioOffloadSupportProvider |
Provides the |
DefaultAudioSink.AudioProcessorChain |
This interface is deprecated. |
DefaultAudioSink.AudioTrackBufferSizeProvider |
Provides the buffer size to use when creating an |
DefaultAudioSink.AudioTrackProvider |
This interface is deprecated. Use |
TeeAudioProcessor.AudioBufferSink |
A sink for audio buffers handled by the audio processor. |
WaveformAudioBufferSink.Listener |
Listener for the audio waveform generation. |
Classes
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 |
AudioOffloadSupport |
Represents the support capabilities for audio offload playback. |
AudioOffloadSupport.Builder |
A builder to create |
AudioOutputProvider.FormatConfig |
Configuration for an audio format and its output preferences. |
AudioOutputProvider.FormatConfig.Builder |
Builder for |
AudioOutputProvider.FormatSupport |
Level of support for an audio format by the provider. |
AudioOutputProvider.FormatSupport.Builder |
A builder to create |
AudioOutputProvider.OutputConfig |
Configuration for an |
AudioOutputProvider.OutputConfig.Builder |
Builder for |
AudioRendererEventListener.EventDispatcher |
Dispatches events to an |
AudioSink.AudioTrackConfig |
Configuration parameters used for an |
AudioTrackAudioOutputProvider |
A default implementation of |
AudioTrackAudioOutputProvider.Builder |
A builder to create |
ChannelMappingAudioProcessor |
An |
DecoderAudioRenderer |
Decodes and renders audio using a |
DefaultAudioOffloadSupportProvider |
Provides the |
DefaultAudioSink |
Plays audio data. |
DefaultAudioSink.Builder |
A builder to create |
DefaultAudioSink.DefaultAudioProcessorChain |
The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by |
DefaultAudioTrackBufferSizeProvider |
Provide the buffer size to use when creating an |
DefaultAudioTrackBufferSizeProvider.Builder |
A builder to create |
DefaultAudioTrackProvider |
This class is deprecated. Use |
ForwardingAudioOutput |
A forwarding base class that delegates all calls to the provided |
ForwardingAudioOutputProvider |
A forwarding base class that delegates all calls to the provided |
ForwardingAudioSink |
An overridable |
MediaCodecAudioRenderer |
Decodes and renders audio using |
OggOpusAudioPacketizer |
A packetizer that encapsulates Opus audio encodings in Ogg packets. |
PcmAudioUtil |
Utility methods for PCM audio data. |
SilenceSkippingAudioProcessor |
An |
TeeAudioProcessor |
Audio processor that outputs its input unmodified and also outputs its input to a given sink. |
TeeAudioProcessor.WavFileAudioBufferSink |
A sink for audio buffers that writes output audio as .wav files with a given path prefix. |
ToFloatPcmAudioProcessor |
An |
TrimmingAudioProcessor |
Audio processor for trimming samples from the start/end of data. |
WaveformAudioBufferSink |
A sink for audio buffers that produces |
WaveformAudioBufferSink.WaveformBar |
Aggregates a group of audio samples. |
Exceptions
AudioOutput.WriteException |
Thrown when a failure occurs writing to the output. |
AudioOutputProvider.ConfigurationException |
Thrown when a failure occurs configuring the output. |
AudioOutputProvider.InitializationException |
Thrown when a failure occurs initializing the output. |
AudioSink.ConfigurationException |
Thrown when a failure occurs configuring the sink. |
AudioSink.InitializationException |
Thrown when a failure occurs initializing the sink. |
AudioSink.UnexpectedDiscontinuityException |
Thrown when the sink encounters an unexpected timestamp discontinuity. |
AudioSink.WriteException |
Thrown when a failure occurs writing to the sink. |