From 5e2db0a5d7ca372c508d756b6d473498496cb619 Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Thu, 5 Sep 2024 08:00:27 +0200 Subject: [PATCH] audio: initialize ausrc_prm --- src/audio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio.c b/src/audio.c index 7e0fae98d..695e60a9c 100644 --- a/src/audio.c +++ b/src/audio.c @@ -1059,6 +1059,7 @@ static int start_source(struct autx *tx, struct audio *a, struct list *ausrcl) size_t sz; size_t psize_alloc; + memset(&prm, 0, sizeof(prm)); prm.srate = srate_dsp; prm.ch = channels_dsp; prm.ptime = tx->ptime;