13
0

some plugin-insert debugging

* report inplace
* debug-dump reason(s) why i/o maps are reset
This commit is contained in:
Robin Gareus 2016-04-19 19:02:03 +02:00
parent c9d55cb172
commit c69a9d7a06
2 changed files with 10 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class LIBARDOUR_API PluginInsert : public Processor
ChanMapping output_map () const; ///< combined (all instances) output map
bool has_midi_bypass () const;
bool has_midi_thru () const;
bool inplace () const { return ! _no_inplace; }
#ifdef MIXBUS
bool is_channelstrip () const;

View File

@ -1489,6 +1489,15 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
mapping_changed = true;
sanitize_maps ();
} else {
DEBUG_TRACE (DEBUG::ChanMapping, string_compose ("Reset Map for '%1': cfg:%2 chn-in:%3 chn-out:%4 match:%5 size-in:%6 size-out:%7\n",
name (),
_configured ? "Y" : "N",
old_in == in ? "==" : "!=",
old_out == out ? "==" : "mismatch",
old_match.method == _match.method ? "==" : "!=",
_in_map.size() == get_count () ? "==" : "!=",
_out_map.size() == get_count () ? "==" : "!="
));
/* generate a new mapping */
mapping_changed = reset_map (false);
}