do not select the first possible IO config for AU plugins and use as the i/o valence, just set in/out to -1, which forces us to lookup the value in the plugin itself
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12198 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
45b62dfc86
commit
15c9e45e7b
|
@ -2177,14 +2177,8 @@ AUPluginInfo::discover_by_description (PluginInfoList& plugs, CAComponentDescrip
|
|||
|
||||
if (cached_io_configuration (info->unique_id, info->version, cacomp, info->cache, info->name)) {
|
||||
|
||||
/* here we have to map apple's wildcard system to a simple pair
|
||||
of values. in ::can_do() we use the whole system, but here
|
||||
we need a single pair of values. XXX probably means we should
|
||||
remove any use of these values.
|
||||
*/
|
||||
|
||||
info->n_inputs = info->cache.io_configs.front().first;
|
||||
info->n_outputs = info->cache.io_configs.front().second;
|
||||
info->n_inputs = -1;
|
||||
info->n_outputs = -1;
|
||||
|
||||
cerr << "detected AU: " << info->name.c_str() << " (" << info->cache.io_configs.size() << " i/o configurations) - " << info->unique_id << endl;
|
||||
|
||||
|
|
|
@ -298,8 +298,10 @@ PluginInsert::connect_and_run (vector<Sample*>& bufs, uint32_t nbufs, nframes_t
|
|||
/* Note that we've already required that plugins
|
||||
be able to handle in-place processing.
|
||||
*/
|
||||
|
||||
// cerr << "Connect and run for " << _plugins[0]->name() << " auto ? " << with_auto << " nf = " << nframes << " off = " << offset << endl;
|
||||
|
||||
// cerr << "Connect and run for " << _plugins[0]->name() << " auto ? " << with_auto << " nf = " << nframes << " off = " << offset
|
||||
// << " nbufs = " << nbufs << " of " << bufs.size() << " with ninputs = " << input_streams()
|
||||
// << endl;
|
||||
|
||||
if (with_auto) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue