13
0

handle no audio-output AUs

This commit is contained in:
Robin Gareus 2016-07-16 18:44:05 +02:00
parent faefc3ba9a
commit 8e48655981

View File

@ -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;
}