mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
handle no audio-output AUs
This commit is contained in:
parent
faefc3ba9a
commit
8e48655981
1 changed files with 3 additions and 1 deletions
|
|
@ -1651,7 +1651,9 @@ AUPlugin::connect_and_run (BufferSet& bufs,
|
||||||
bool inplace = true; // TODO check plugin-insert in-place ?
|
bool inplace = true; // TODO check plugin-insert in-place ?
|
||||||
ChanMapping::Mappings inmap (in_map.mappings ());
|
ChanMapping::Mappings inmap (in_map.mappings ());
|
||||||
ChanMapping::Mappings outmap (out_map.mappings ());
|
ChanMapping::Mappings outmap (out_map.mappings ());
|
||||||
assert (outmap[DataType::AUDIO].size () > 0);
|
if (outmap[DataType::AUDIO].size () == 0) {
|
||||||
|
inplace = false;
|
||||||
|
}
|
||||||
if (inmap[DataType::AUDIO].size() > 0 && inmap != outmap) {
|
if (inmap[DataType::AUDIO].size() > 0 && inmap != outmap) {
|
||||||
inplace = false;
|
inplace = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue