diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-10 15:41:19 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-10 15:41:19 -0400 |
commit | 209e4bdcaed8e0f7d66fa5673f9049948e1f1d53 (patch) | |
tree | bdf1ffca2a5f1f20ac652e6803a77cfcf8278363 /libs/ardour/port.cc | |
parent | a6815efb86e5091ce82f66ddfb60b2b2cffc587a (diff) |
many changes relating to session construction and audioengine interaction
every session member is now initialized using C++ constructor syntax
session construction reordered to clarify the split(s) between work
where the engine is not relevant and work where is it is. this
split is still not 100% obvious, but is enormously clearer than
previously.
if engine/backend are not running as session is created, and the SR
of the sample rate is known, attempt to force backend to that value.
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r-- | libs/ardour/port.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index 8fadad4fcc..e8629cbf14 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -153,8 +153,10 @@ Port::connect (std::string const & other) } if (sends_output ()) { + DEBUG_TRACE (DEBUG::Ports, string_compose ("Connect %1 to %2\n", our_name, other_name)); r = port_engine.connect (our_name, other_name); } else { + DEBUG_TRACE (DEBUG::Ports, string_compose ("Connect %1 to %2\n", other_name, our_name)); r = port_engine.connect (other_name, our_name); } @@ -420,6 +422,8 @@ Port::reconnect () { /* caller must hold process lock; intended to be used only after reestablish() */ + DEBUG_TRACE (DEBUG::Ports, string_compose ("Connect %1 to %2 destinations\n",name(), _connections.size())); + for (std::set<string>::iterator i = _connections.begin(); i != _connections.end(); ++i) { if (connect (*i)) { return -1; |