mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix AU i/o busses accounting.
This fixes issues for synths with zero audio input, explicit default stereo config and optional busses.
This commit is contained in:
parent
7d6e6424c7
commit
31f7948936
1 changed files with 2 additions and 2 deletions
|
|
@ -1269,7 +1269,7 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
|
|||
for (vector<pair<int,int> >::const_iterator i = ioc.begin(); i != ioc.end(); ++i) {
|
||||
int32_t possible_in = i->first;
|
||||
int32_t possible_out = i->second;
|
||||
if (possible_in < 1 || possible_out < 1) {
|
||||
if (possible_in < 0) {
|
||||
continue;
|
||||
}
|
||||
for (uint32_t i = 1; i < input_elements; ++i) {
|
||||
|
|
@ -1286,7 +1286,7 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
|
|||
for (vector<pair<int,int> >::const_iterator i = ioc.begin(); i != ioc.end(); ++i) {
|
||||
int32_t possible_in = i->first;
|
||||
int32_t possible_out = i->second;
|
||||
if (possible_in < 1 || possible_out < 1) {
|
||||
if (possible_out < 0) {
|
||||
continue;
|
||||
}
|
||||
for (uint32_t i = 1; i < output_elements; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue