ParameterChange

data class ParameterChange(val effect: AudioEffect, val paramId: Int, val value: Float)

Describes a single parameter change to be applied to an AudioEffect.

Used with AudioEffectChain.applyBatch to apply multiple parameter changes atomically in a single audio processing cycle, avoiding audible glitches.

See also

Constructors

Link copied to clipboard
constructor(effect: AudioEffect, paramId: Int, value: Float)

Properties

Link copied to clipboard

The target AudioEffect whose parameter will be changed.

Link copied to clipboard

The parameter identifier (e.g., CompressorParams.THRESHOLD).

Link copied to clipboard

The new value to set for the parameter.