]> git.alsa-project.org Git - alsa-lib.git/commit
pcm_meter: fix dsd_states leak and widen s16 DSD smoothing cap
authorJaroslav Kysela <perex@perex.cz>
Mon, 30 Nov 2026 20:53:33 +0000 (21:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 30 Nov 2026 20:58:01 +0000 (21:58 +0100)
commit95207e71c04b75adf3abb72dd467fdf4c0b50038
treef03059b2ad201932c5ba58588dada7bfecbcb50a
parentadbd74cd18e1b315ddd4ad6f801452c33ee825af
pcm_meter: fix dsd_states leak and widen s16 DSD smoothing cap

Free dsd_states on the s16_enable OOM paths, and raise the dsd_shift
cap to 12 so the smoothing window reaches ~0.25 ms at every DSD rate
while staying inside the int32 EMA accumulator bound.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_meter.c