I’m trying to add something to a plug-in that can change the numbers of input or output channels. It’s similar to what ReaSurround (a VST which comes with REAPER) can do in its input/output selection part.
Right now I’m trying to do it by calling
setPlayConfigDetails in the plugin editor. It looks like it can
setPreferredBusArrangement in the
setPlayConfigDetails function successfully, but it cannot really run through the next
processBlock call. I’m not sure if I miss anything. Is there something that I forget to set or initialize? Or is it the correct way of doing so? Any pointer would be much appreciated. Thanks!