_maps_from_state is legal after unfreeze (restore state)

This commit is contained in:
Robin Gareus 2016-11-24 21:58:50 +01:00
parent a2c0b10d8a
commit a7210d256e

View File

@ -1816,11 +1816,9 @@ 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 */
mapping_changed = sanitize_maps ();
} else if (_match.custom_cfg && _configured) {
assert (_maps_from_state == false);
/* don't touch the map in manual mode */
mapping_changed = sanitize_maps ();
} else {