mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
a bit more debug tracing for control protocols
git-svn-id: svn://localhost/ardour2/branches/3.0@13849 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
244f07b2a4
commit
2037b95347
1 changed files with 5 additions and 1 deletions
|
|
@ -128,11 +128,15 @@ ControlProtocolManager::instantiate (ControlProtocolInfo& cpi)
|
|||
|
||||
cpi.descriptor = get_descriptor (cpi.path);
|
||||
|
||||
DEBUG_TRACE (DEBUG::ControlProtocols, string_compose ("instantiating %1\n", cpi.name));
|
||||
|
||||
if (cpi.descriptor == 0) {
|
||||
error << string_compose (_("control protocol name \"%1\" has no descriptor"), cpi.name) << endmsg;
|
||||
return 0;
|
||||
}
|
||||
|
||||
DEBUG_TRACE (DEBUG::ControlProtocols, string_compose ("initializing %1\n", cpi.name));
|
||||
|
||||
if ((cpi.protocol = cpi.descriptor->initialize (cpi.descriptor, _session)) == 0) {
|
||||
error << string_compose (_("control protocol name \"%1\" could not be initialized"), cpi.name) << endmsg;
|
||||
return 0;
|
||||
|
|
@ -257,7 +261,7 @@ ControlProtocolManager::control_protocol_discover (string path)
|
|||
control_protocol_info.push_back (cpi);
|
||||
|
||||
DEBUG_TRACE (DEBUG::ControlProtocols,
|
||||
string_compose(_("Control surface protocol discovered: \"%1\""), cpi->name));
|
||||
string_compose(_("Control surface protocol discovered: \"%1\"\n"), cpi->name));
|
||||
}
|
||||
|
||||
dlclose (descriptor->module);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue