add some assert for reloading saved plugin pin connections

This commit is contained in:
Robin Gareus 2016-04-18 17:22:55 +02:00
parent 0077923dea
commit 008eda2858

View file

@ -1448,11 +1448,13 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
&& _in_map.size() == _out_map.size()
&& _in_map.size() == get_count ()
) {
assert (_maps_from_state == false);
/* If the configuration has not changed, keep the mapping */
if (old_internal != _configured_internal) {
mapping_changed = sanitize_maps ();
}
} else if (_match.custom_cfg && _configured) {
assert (_maps_from_state == false);
mapping_changed = sanitize_maps ();
} else {
#ifdef MIXBUS