13
0

for DEBUG::Processors, use display_name() not name()

This allows us to differentiate between different instances of the same
type of processor (e.g. Trim vs Fader, which are both of type Amp)
This commit is contained in:
Paul Davis 2024-05-10 08:25:50 -06:00
parent 2e55f4452f
commit edc03002eb
2 changed files with 4 additions and 4 deletions

View File

@ -1667,7 +1667,7 @@ MixerStrip::show_send (std::shared_ptr<Send> send)
send->set_metering (true);
_current_delivery->DropReferences.connect (send_gone_connection, invalidator (*this), boost::bind (&MixerStrip::revert_to_default_display, this), gui_context());
gain_meter().set_controls (_route, send->meter(), send->amp(), send->gain_control());
gain_meter().set_controls (_route, _route->shared_peak_meter() /*send->meter()*/, send->amp(), send->gain_control());
gain_meter().setup_meters ();
uint32_t const in = _current_delivery->pans_required();

View File

@ -914,7 +914,7 @@ Route::add_processor (std::shared_ptr<Processor> processor, std::shared_ptr<Proc
assert (processor != _main_outs);
DEBUG_TRACE (DEBUG::Processors, string_compose (
"%1 adding processor %2\n", name(), processor->name()));
"%1 adding processor %2\n", name(), processor->display_name()));
ProcessorList pl;
@ -1876,7 +1876,7 @@ Route::try_configure_processors_unlocked (ChanCount in, ProcessorStreams* err)
}
}
DEBUG_TRACE (DEBUG::Processors, string_compose ("\t%1 ID=%2 in=%3 out=%4\n",(*p)->name(), (*p)->id(), in, out));
DEBUG_TRACE (DEBUG::Processors, string_compose ("\t%1 ID=%2 in=%3 out=%4\n",(*p)->display_name(), (*p)->id(), in, out));
configuration.push_back(make_pair(in, out));
if (is_monitor()) {
@ -5532,7 +5532,7 @@ Route::setup_invisible_processors ()
DEBUG_TRACE (DEBUG::Processors, string_compose ("%1: setup_invisible_processors\n", _name));
for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
DEBUG_TRACE (DEBUG::Processors, string_compose ("\t%1\n", (*i)->name ()));
DEBUG_TRACE (DEBUG::Processors, string_compose ("\t%1\n", (*i)->display_name ()));
}
}