diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-26 19:00:27 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-26 19:00:27 +0000 |
commit | e3b21111094556494993a711edf6fbc6f826a057 (patch) | |
tree | 116ea553f73149e28e0fec2a30acf968e0cbffbd /libs/ardour/route.cc | |
parent | 9b3aefec1b0da4b838ecc90df7080be539b2edba (diff) |
add Port::PostDisconnect signal to allow objects other than the one being directly disconnected to act when disconnection happens. This turns out to be much easier than using the JACK port connect/disconnect callback
git-svn-id: svn://localhost/ardour2/branches/3.0@11355 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 645addd7ab..acc353f7db 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2837,8 +2837,6 @@ Route::input_change_handler (IOChange change, void * /*src*/) io_changed (); /* EMIT SIGNAL */ } - cerr << _name << ": input change, connected ? " << _input->connected() << endl; - if (!_input->connected() && _soloed_by_others_upstream) { if (need_to_queue_solo_change) { _session.cancel_solo_after_disconnect (shared_from_this(), true); @@ -2860,8 +2858,6 @@ Route::output_change_handler (IOChange change, void * /*src*/) need_to_queue_solo_change = false; } - cerr << _name << ": output change, connected ? " << _output->connected() << endl; - if (!_output->connected() && _soloed_by_others_downstream) { if (need_to_queue_solo_change) { _session.cancel_solo_after_disconnect (shared_from_this(), false); @@ -2874,7 +2870,6 @@ Route::output_change_handler (IOChange change, void * /*src*/) void Route::cancel_solo_after_disconnect (bool upstream) { - cerr << _name << " CSAD upstream ? " << upstream << endl; if (upstream) { _soloed_by_others_upstream = 0; } else { |