ref: 05bd3ede00e54b93689d3beb76fb47d8003873a7
parent: 92610d83ab8b0e82dec73bd5b1b6709751f52d8d
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed May 13 04:02:46 EDT 2020
piper: use enum for memset
--- a/piper/piper.c
+++ b/piper/piper.c
@@ -193,7 +193,7 @@
out = malloc(Bufframes*sizeof(*out));
x = malloc(Bufframes*sizeof(*x));
for (;;) {
- memset(out, 0, 44100/100*sizeof(*out));
+ memset(out, 0, Bufframes*sizeof(*out));
qlock(&grouplock);
for (i = 0; i < numgroups; i++) {
for (j = 0; j < groups[i].numinst; j++) {