e38eb0613e036814f8787d4d51695580bd357c11
Ardour calls input_streams(), output_streams() to determine if the plugin is about to be re-configured (old stream I/O count != new I/O count) and emit PluginIoReConfigure() if that’s true. If the plugin has not been initialized (no format set), we can safely assume that it will need to be reconfigured. Forcing Audio=Midi=0 will do so. The only time where the format is not yet set and hence the actual channel count is still unknown) is during the first call to PluginInsert::configure_io(). At the time of writing, this all is a NOOP anyway! The only user of the PluginIoReConfigure() signal is the GUI to update connection lines… and since the first PluginInsert::configure_io() happens during insertion before the plugin is painted and subscribed to PluginIoReConfigure(), this function could return any value. Still 0,0 is just more appropriate than assuming mono audio in/out and no midi.
When building with MSVC make sure any backends / panners etc get copied to the correct target folder
Please see the Ardour web site at http://ardour.org/ for all documentation..
For information on building ardour:
http://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%