Module gain_plan

Source
Expand description

Normalization policy shared by local CLI and native PCM playback.

Structs§

GainPlan
The gain chosen before the DSP enforces output headroom.
LoudnessUpdate
A completed source measurement, saved outside the audio decoding loop.
ReadyNormalization
A lazy normalization session shared by CLI and native PCM playback.

Functions§

plan_normalization
Explicitly premeasure and cache an ordered playback selection. This blocking preparation can decode every missing track or whole album. Interactive CLI and native PCM playback use ReadyNormalization.