handle no audio-output AUs
This commit is contained in:
parent
faefc3ba9a
commit
8e48655981
@ -1651,7 +1651,9 @@ AUPlugin::connect_and_run (BufferSet& bufs,
|
||||
bool inplace = true; // TODO check plugin-insert in-place ?
|
||||
ChanMapping::Mappings inmap (in_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) {
|
||||
inplace = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user