SpeedParameters


@ExperimentalApi
public final class SpeedParameters


Class that holds information about how to apply a speed-changing effect.

Summary

Constants

static final SpeedParameters

Public fields

final boolean

Returns whether pitch should be maintained when time-stretching an audio stream.

final SpeedProvider

The SpeedProvider to apply on a stream.

Public constructors

SpeedParameters(
    SpeedProvider speedProvider,
    boolean shouldMaintainPitch
)

Constants

DEFAULT

public static final SpeedParameters DEFAULT

Public fields

shouldMaintainPitch

public final boolean shouldMaintainPitch

Returns whether pitch should be maintained when time-stretching an audio stream.

speedProvider

public final SpeedProvider speedProvider

The SpeedProvider to apply on a stream.

Public constructors

SpeedParameters

public SpeedParameters(
    SpeedProvider speedProvider,
    boolean shouldMaintainPitch
)