mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
some plugin-insert debugging
* report inplace * debug-dump reason(s) why i/o maps are reset
This commit is contained in:
parent
c9d55cb172
commit
c69a9d7a06
2 changed files with 10 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ class LIBARDOUR_API PluginInsert : public Processor
|
||||||
ChanMapping output_map () const; ///< combined (all instances) output map
|
ChanMapping output_map () const; ///< combined (all instances) output map
|
||||||
bool has_midi_bypass () const;
|
bool has_midi_bypass () const;
|
||||||
bool has_midi_thru () const;
|
bool has_midi_thru () const;
|
||||||
|
bool inplace () const { return ! _no_inplace; }
|
||||||
|
|
||||||
#ifdef MIXBUS
|
#ifdef MIXBUS
|
||||||
bool is_channelstrip () const;
|
bool is_channelstrip () const;
|
||||||
|
|
|
||||||
|
|
@ -1489,6 +1489,15 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
|
||||||
mapping_changed = true;
|
mapping_changed = true;
|
||||||
sanitize_maps ();
|
sanitize_maps ();
|
||||||
} else {
|
} 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 */
|
/* generate a new mapping */
|
||||||
mapping_changed = reset_map (false);
|
mapping_changed = reset_map (false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue