test_sample_bounded
test_sample_bounded(buf, S, nsrc, S->ndst);
test_sample_bounded(buf, S, S->nsrc, ndst);