commit b111695471271c5ac18224c96d585a4d08df409f
parent ff82d22cbc17db68933ff5dec7fd0cdcf8dd8c83
Author: sin <sin@2f30.org>
Date: Sat, 11 Jun 2016 11:10:36 +0100
No need to clear output buffer
nsamples always reflects the usable part of the buffer.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ncmixer.c b/ncmixer.c
@@ -497,7 +497,6 @@ loop(void)
if (out->sio_hdl == NULL)
continue;
}
- memset(out->buf, 0, sizeof(out->buf));
out->mix(out, &inputs[0], &inputs[1]);
ret = audio_play(out->sio_hdl, out->buf,
out->nsamples * 2);