diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-15 15:24:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-15 15:24:50 +0200 |
commit | 32a97d242e30a8401a51f06f42b58fdb6e9fa7da (patch) | |
tree | 33c30ec6676522145d909dfe5f72c88f162ba42a /libs | |
parent | 7030ab064f4fe5dda1915aa9cdf95e0e702e434a (diff) |
Fix typos in AU channel-count calc
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/audio_unit.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index bf9ea888ab..6cda5acd6b 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -2918,7 +2918,7 @@ AUPluginInfo::discover_by_description (PluginInfoList& plugs, CAComponentDescrip const int rv = cached_io_configuration (info->unique_id, info->version, cacomp, info->cache, info->name); - info.max_outputs = 0; + info->max_outputs = 0; if (rv == 0) { /* here we have to map apple's wildcard system to a simple pair @@ -2939,13 +2939,13 @@ AUPluginInfo::discover_by_description (PluginInfoList& plugs, CAComponentDescrip int32_t possible_out = i->second; if (possible_out < 0) { continue; - } else if (possible_out > info.max_outputs) { - info.max_outputs = possible_out; + } else if (possible_out > info->max_outputs) { + info->max_outputs = possible_out; } } int32_t possible_in = ioc.front().first; - int32_t possible_out = ioc.font().second; + int32_t possible_out = ioc.front().second; if (possible_in > 0) { info->n_inputs.set (DataType::AUDIO, possible_in); |