<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1477677119134_291367">On our system we need to "prepare" (de-interleave/resample) the input/output channels that are passed to libpd.</div><div id="yui_3_16_0_ym19_1_1477677119134_291365">The user may not be using all the I/Os available in their patch.</div><div id="yui_3_16_0_ym19_1_1477677119134_291365">Is there a way to get from libpd the number of adc~/dac~ channels actually in use by the current Pd patch?</div><div id="yui_3_16_0_ym19_1_1477677119134_291365"><br></div><div id="yui_3_16_0_ym19_1_1477677119134_291365">This way we could save some CPU and memory for those channels that are not in use in the currently loaded patch.</div><div id="yui_3_16_0_ym19_1_1477677119134_291365"><br></div><div id="yui_3_16_0_ym19_1_1477677119134_291365">Thanks,</div><div id="yui_3_16_0_ym19_1_1477677119134_291365">Giulio</div></div></body></html>