Back to Exoplayer

Package com.google.android.exoplayer2.audio

docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html

latest11.2 KB
Original Source

Package com.google.android.exoplayer2.audio

Interface Summary | Interface | Description | | --- | --- | | AudioCapabilitiesReceiver.Listener | Listener notified when audio capabilities change. | | AudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioProcessorChain | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioRendererEventListener | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioSink | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioSink.Listener | Listener for audio sink events. | | DefaultAudioSink.AudioProcessorChain | Deprecated. Use AudioProcessorChain. | | DefaultAudioSink.AudioTrackBufferSizeProvider | Provides the buffer size to use when creating an AudioTrack. | | TeeAudioProcessor.AudioBufferSink | A sink for audio buffers handled by the audio processor. |

Class Summary | Class | Description | | --- | --- | | AacUtil | Deprecated. com.google.android.exoplayer2 is deprecated. | | AacUtil.Config | Holds sample format information for AAC audio. | | Ac3Util | Deprecated. com.google.android.exoplayer2 is deprecated. | | Ac3Util.SyncFrameInfo | Holds sample format information as presented by a syncframe header. | | Ac4Util | Deprecated. com.google.android.exoplayer2 is deprecated. | | Ac4Util.SyncFrameInfo | Holds sample format information as presented by a syncframe header. | | AudioAttributes | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioAttributes.AudioAttributesV21 | A direct wrapper around AudioAttributes. | | AudioAttributes.Builder | Builder for AudioAttributes. | | AudioCapabilities | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioCapabilitiesReceiver | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioProcessingPipeline | Deprecated. com.google.android.exoplayer2 is deprecated. | | AudioProcessor.AudioFormat | PCM audio format that may be handled by an audio processor. | | AudioRendererEventListener.EventDispatcher | Dispatches events to an AudioRendererEventListener. | | AuxEffectInfo | Deprecated. com.google.android.exoplayer2 is deprecated. | | BaseAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | ChannelMixingAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | ChannelMixingMatrix | Deprecated. com.google.android.exoplayer2 is deprecated. | | DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,​? extends SimpleDecoderOutputBuffer,​? extends DecoderException>> | Deprecated. com.google.android.exoplayer2 is deprecated. | | DefaultAudioSink | Deprecated. com.google.android.exoplayer2 is deprecated. | | DefaultAudioSink.Builder | A builder to create DefaultAudioSink instances. | | DefaultAudioSink.DefaultAudioProcessorChain | The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor. | | DefaultAudioTrackBufferSizeProvider | Deprecated. com.google.android.exoplayer2 is deprecated. | | DefaultAudioTrackBufferSizeProvider.Builder | A builder to create DefaultAudioTrackBufferSizeProvider instances. | | DtsUtil | Deprecated. com.google.android.exoplayer2 is deprecated. | | ForwardingAudioSink | Deprecated. com.google.android.exoplayer2 is deprecated. | | MediaCodecAudioRenderer | Deprecated. com.google.android.exoplayer2 is deprecated. | | MpegAudioUtil | Deprecated. com.google.android.exoplayer2 is deprecated. | | MpegAudioUtil.Header | Stores the metadata for an MPEG audio frame. | | OggOpusAudioPacketizer | Deprecated. com.google.android.exoplayer2 is deprecated. | | OpusUtil | Deprecated. com.google.android.exoplayer2 is deprecated. | | SilenceSkippingAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | SonicAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | TeeAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | TeeAudioProcessor.WavFileAudioBufferSink | A sink for audio buffers that writes output audio as .wav files with a given path prefix. | | ToInt16PcmAudioProcessor | Deprecated. com.google.android.exoplayer2 is deprecated. | | WavUtil | Deprecated. com.google.android.exoplayer2 is deprecated. |

Exception Summary | Exception | Description | | --- | --- | | AudioProcessor.UnhandledAudioFormatException | Exception thrown when the given AudioProcessor.AudioFormat can not be handled. | | 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. | | DefaultAudioSink.InvalidAudioTrackTimestampException | Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set. |

Annotation Types Summary | Annotation Type | Description | | --- | --- | | AacUtil.AacAudioObjectType | Valid AAC Audio object types. | | Ac3Util.SyncFrameInfo.StreamType | AC3 stream types. | | AudioSink.SinkFormatSupport | The level of support the sink provides for a format. | | DefaultAudioSink.OffloadMode | Audio offload mode configuration. | | DefaultAudioSink.OutputMode | Output mode of the audio sink. |