I was interested in the same case for some time, but can not obtain more than 2 channels (default) for jack.
Your request channels at the start of the VM, if your code goes over that max you'll get a null-pointer exception.
Kas
I try to ask channels with
--dac/--adc/-i/-o/-in/-out/--channels, but that does not work. The
error message is that jack does not support more than two channels (the
outputs of my sound card).