mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
Review follow-ups for the apply slice. - A negative-infinite gain produced 0 dB, not unity: 10^(inf/20) is 0.0, which is finite, so the result guard never fired and the track played silent — the opposite of what the guard is for. A large-enough finite negative gain underflows the same way, and an infinite gain paired with a peak survived as the cap. The gain is now rejected before the pow and an underflowed result falls back to unity. - A peak carrying no data shadowed a usable peak in the other slot, so trackPeak=0 with albumPeak=0.5 skipped the cap entirely — the gonic shape on the default mode. Both peaks are filtered before one is chosen. - Drop the claim that a period-less flush comes from a sink reset; it does not, and the guard stands on its own. - Trim two comments back to naming the Media3 types. - Revert the observeStar rename, which was for a path that no longer applies the gain.