public class

DefaultAudioSink.DefaultAudioProcessorChain

extends java.lang.Object

implements DefaultAudioSink.AudioProcessorChain

 java.lang.Object

↳androidx.media3.exoplayer.audio.DefaultAudioSink.DefaultAudioProcessorChain

Overview

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

Summary

Constructors
publicDefaultAudioProcessorChain(AudioProcessor audioProcessors[])

Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.

publicDefaultAudioProcessorChain(AudioProcessor audioProcessors[], SilenceSkippingAudioProcessor silenceSkippingAudioProcessor, SonicAudioProcessor sonicAudioProcessor)

Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.

Methods
public PlaybackParametersapplyPlaybackParameters(PlaybackParameters playbackParameters)

public booleanapplySkipSilenceEnabled(boolean skipSilenceEnabled)

public AudioProcessorgetAudioProcessors()

public longgetMediaDuration(long playoutDuration)

public longgetSkippedOutputFrameCount()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public DefaultAudioProcessorChain(AudioProcessor audioProcessors[])

Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.

public DefaultAudioProcessorChain(AudioProcessor audioProcessors[], SilenceSkippingAudioProcessor silenceSkippingAudioProcessor, SonicAudioProcessor sonicAudioProcessor)

Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.

Methods

public AudioProcessor getAudioProcessors()

public PlaybackParameters applyPlaybackParameters(PlaybackParameters playbackParameters)

public boolean applySkipSilenceEnabled(boolean skipSilenceEnabled)

public long getMediaDuration(long playoutDuration)

public long getSkippedOutputFrameCount()