DownmixConfig

data class DownmixConfig(val normalize: Boolean = false, val includeLfe: Boolean = false)

How a multichannel mix is folded into fewer speakers.

Both defaults follow the reference the rest of this project follows, which is FFmpeg's own resampler, and both were previously neither implemented nor decided: the mixer applied the standard coefficients raw, so a source loud in several channels at once summed past full scale and clipped at the device.

Constructors

Link copied to clipboard
constructor(normalize: Boolean = false, includeLfe: Boolean = false)

Properties

Link copied to clipboard

Fold the low-frequency effects channel into the stereo mix.

Link copied to clipboard

Scale the matrix so a full-scale input can never sum past full scale.