DefaultAudioSink.AudioProcessorChain


public interface DefaultAudioSink.AudioProcessorChain extends 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 methods

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

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

abstract boolean
applySkipSilenceEnabled(boolean skipSilenceEnabled)

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

abstract AudioProcessor[]

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

abstract long
getMediaDuration(long playoutDuration)

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

abstract long

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