diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-15 19:32:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-15 19:32:21 +0000 |
commit | c4c40340855dff6191a670d3130d65b1e79dc8a0 (patch) | |
tree | 91c79d2dd3c4bb3e2f53c5d303c4ef0877c38526 /libs/ardour/route.cc | |
parent | eee943304c8d7afbb7c92e200670a1ee01c34ab5 (diff) |
fix all manner of things relating to io connections, setting capture alignment, and so on. still needs more tests of actual precise placement of newly recorded material
git-svn-id: svn://localhost/ardour2/branches/3.0@9155 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index d368198e22..f5fd4a682c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -137,8 +137,6 @@ Route::init () _output.reset (new IO (_session, _name, IO::Output, _default_type)); _input->changed.connect_same_thread (*this, boost::bind (&Route::input_change_handler, this, _1, _2)); - _output->changed.connect_same_thread (*this, boost::bind (&Route::output_change_handler, this, _1, _2)); - _input->PortCountChanging.connect_same_thread (*this, boost::bind (&Route::input_port_count_changing, this, _1)); /* add amp processor */ @@ -2742,47 +2740,6 @@ Route::input_change_handler (IOChange change, void * /*src*/) } } -/** Called with the process lock held if change contains ConfigurationChanged */ -void -Route::output_change_handler (IOChange change, void * /*src*/) -{ - if ((change.type & IOChange::ConfigurationChanged)) { - - /* XXX resize all listeners to match _main_outs? */ - - /* Auto-connect newly-created outputs, unless we're auto-connecting to master - and we are master (as an auto-connect in this situation would cause a - feedback loop) - */ - - AutoConnectOption ac = Config->get_output_auto_connect (); - - if (ac == AutoConnectPhysical || (ac == AutoConnectMaster && !is_master ())) { - - ChanCount start = change.before; - - for (DataType::iterator i = DataType::begin(); i != DataType::end(); ++i) { - if (change.before.get(*i) < change.after.get(*i)) { - /* the existing ChanCounts don't matter for this call as they are only - to do with matching input and output indices, and we are only changing - outputs here. - */ - ChanCount dummy; - - /* only auto-connect the newly-created outputs, not the ones that were - already there - */ - start.set (*i, start.get (*i) + 1); - - _session.auto_connect_route (this, dummy, dummy, false, false, ChanCount(), change.before); - } - } - } - - // configure_processors (0); - } -} - uint32_t Route::pans_required () const { |