(bind-func static hold_mc_c
(lambda (channels:i64)
(let ((holds:[SAMPLE,SAMPLE,SAMPLE]** (alloc channels))
(i:i64 0))
(dotimes (i channels) (pset! holds i (hold3_c)))
(lambda (chan:i64 x h)
(let ((f (pref holds chan)))
(f x h))))))