mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix typos in AU channel-count calc
This commit is contained in:
parent
7030ab064f
commit
32a97d242e
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue