DefaultAudioSink.AudioProcessorChain


interface DefaultAudioSink.AudioProcessorChain : AudioProcessorChain

Known direct subclasses
DefaultAudioSink.DefaultAudioProcessorChain

The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.


Summary

Inherited functions

From androidx.media3.common.audio.AudioProcessorChain
PlaybackParameters!

Configures audio processors to apply the specified playback parameters immediately, returning the new playback parameters, which may differ from those passed in.

Boolean
applySkipSilenceEnabled(skipSilenceEnabled: Boolean)

Configures audio processors to apply whether to skip silences immediately, returning the new value.

Array<AudioProcessor!>!

Returns the fixed chain of audio processors that will process audio.

Long
getMediaDuration(playoutDuration: Long)

Returns the media duration corresponding to the specified playout duration, taking speed adjustment due to audio processing into account.

Long

Returns the number of output audio frames skipped since the audio processors were last flushed.