13
0

fix plugin bypass -- thinko in 54d8def6

This commit is contained in:
Robin Gareus 2016-07-10 04:02:02 +02:00
parent a4a246b41d
commit 509ce07c28

View File

@ -1346,7 +1346,7 @@ PluginInsert::no_sc_input_map () const
for (ChanMapping::Mappings::const_iterator tm = mp.begin(); tm != mp.end(); ++tm) {
uint32_t ins = natural_input_streams().get(tm->first) - _cached_sidechain_pins.get(tm->first);
for (ChanMapping::TypeMapping::const_iterator i = tm->second.begin(); i != tm->second.end(); ++i) {
if (i->second < ins) {
if (i->first < ins) {
rv.set (tm->first, i->first + pc * ins, i->second);
}
}