fix zlclear for queue
closes
@@ -1123,8 +1123,6 @@ static void zl_queue(t_zl *x, int natoms, t_atom *buf, int banged){
x->x_outbuf1.d_natoms = bufrp;
x->x_counter = count;
}
- else
- outlet_float(x->x_out2, -1);
}
else{
if (natoms + count > max) natoms = max - count;
@@ -1566,6 +1564,8 @@ static void zl_zlclear(t_zl *x){
x->x_counter = 0;
outlet_float(x->x_out2, 0);
}
+ else if(zl_modesym[x->x_mode] == gensym("queue"))
+ x->x_counter = 0;
}
static void *zl_new(t_symbol *s, int argc, t_atom *argv){
