Back to Exoplayer

Effects (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/transformer/Effects.html

latest4.3 KB
Original Source

Package com.google.android.exoplayer2.transformer

Class Effects


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classEffectsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

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 a MediaItem or to a Composition.

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 empty Effects 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. |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

EMPTY

public static final[Effects](Effects.html "class in com.google.android.exoplayer2.transformer")EMPTY

Deprecated.

An empty Effects instance.

- 

audioProcessors

public final[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[AudioProcessor](../audio/AudioProcessor.html "interface in com.google.android.exoplayer2.audio")> 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 that AudioProcessor if it AudioProcessor.isActive() based on the current configuration.

- 

videoEffects

public final[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[Effect](../util/Effect.html "interface in com.google.android.exoplayer2.util")> 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](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[AudioProcessor](../audio/AudioProcessor.html "interface in com.google.android.exoplayer2.audio")> audioProcessors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Effect](../util/Effect.html "interface in com.google.android.exoplayer2.util")> videoEffects)

Deprecated.

Creates an instance. Parameters:audioProcessors - The audioProcessors.videoEffects - The videoEffects.