commit ba22cc5529fa5b4e01efda0aaac73e7f830b9d56
parent ff9aa5d55ba41c336f52100e294a2c40ccf3d265
Author: sin <sin@2f30.org>
Date: Wed, 8 Jun 2016 18:01:13 +0100
Clear attenuated buf on input as well
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c
@@ -423,6 +423,8 @@ loop(void)
for (i = 0; i < LEN(inputs); i++) {
in = &inputs[i];
memset(in->buf, 0, sizeof(in->buf));
+ memset(in->attenuated_buf, 0,
+ sizeof(in->attenuated_buf));
in->nsamples = 0;
if (in->clifd == -1)
continue;