Robin Gareus
e38eb0613e
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. |
||
---|---|---|
doc | ||
export | ||
gtk2_ardour | ||
headless | ||
icons | ||
libs | ||
mcp | ||
midi_maps | ||
msvc_extra_headers | ||
MSVCardour3 | ||
MSVCMixbus3 | ||
MSVCvst_scan | ||
patches | ||
patchfiles | ||
templates | ||
tools | ||
vst | ||
.dir-locals.el | ||
.gitignore | ||
ardour-3.ttl | ||
ardour.1 | ||
ardour.1.es | ||
ardour.1.fr | ||
ardour.1.ru | ||
ardour.dox | ||
COPYING | ||
instant.xml | ||
instant.xml.sae | ||
Makefile | ||
msvc32-fixup.pl | ||
PACKAGER_README | ||
README | ||
system_config | ||
testfile.flac | ||
testfile.ogg | ||
TRANSLATORS | ||
waf | ||
wscript |
Please see the Ardour web site at http://ardour.org/ for all documentation.. For information on building ardour: http://ardour.org/development.html