summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-07 17:59:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-07 17:59:25 +0000
commit15c9e45e7bb50849718b1737f802c25c634bb87e (patch)
tree856c8c3a76664e783c03b5a9136ef3e7e2f141ac
parent45b62dfc86db0df9de9230900e58efc9144120fd (diff)
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
-rw-r--r--libs/ardour/audio_unit.cc10
-rw-r--r--libs/ardour/insert.cc6
2 files changed, 6 insertions, 10 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc
index 8b910341a0..e611808d93 100644
--- a/libs/ardour/audio_unit.cc
+++ b/libs/ardour/audio_unit.cc
@@ -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;
diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc
index d64fc0189c..0b3dda70bc 100644
--- a/libs/ardour/insert.cc
+++ b/libs/ardour/insert.cc
@@ -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) {