Class Effects
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.Effects
-
@Deprecated public final class Effects extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Effects to apply to aMediaItem
or to aComposition
.
-
-
Field Summary
Fields Modifier and Type Field Description ImmutableList<AudioProcessor>
audioProcessors
Deprecated.The list of audio processors to apply to audio buffers.static Effects
EMPTY
Deprecated.An emptyEffects
instance.ImmutableList<Effect>
videoEffects
Deprecated.The list of video effects to apply to each frame.
-
Constructor Summary
Constructors Constructor Description Effects(List<AudioProcessor> audioProcessors, List<Effect> videoEffects)
Deprecated.Creates an instance.
-
-
-
Field Detail
-
audioProcessors
public final ImmutableList<AudioProcessor> audioProcessors
Deprecated.The list of audio processors to apply to audio buffers. They are applied in the order of the list, and buffers will only be modified by thatAudioProcessor
if itAudioProcessor.isActive()
based on the current configuration.
-
videoEffects
public final ImmutableList<Effect> videoEffects
Deprecated.The list of video effects to apply to each frame. They are applied in the order of the list.
-
-
Constructor Detail
-
Effects
public Effects(List<AudioProcessor> audioProcessors, List<Effect> videoEffects)
Deprecated.Creates an instance.- Parameters:
audioProcessors
- TheaudioProcessors
.videoEffects
- ThevideoEffects
.
-
-