diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-11 00:58:24 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-11 00:58:24 +0000 |
commit | d469cc3e3a536fceedbfc41e52ad3d7d178f7b0d (patch) | |
tree | 5cee0af05edc00f5b19116727b1aebfd3bc52719 /libs/ardour/route.cc | |
parent | fe4e98a72987f197239a025413bfddb4c29b8ba8 (diff) |
Remove internal ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@4525 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 452d611d87..6f031acd12 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -35,7 +35,6 @@ #include <ardour/plugin_insert.h> #include <ardour/port_insert.h> #include <ardour/send.h> -#include <ardour/internal_send.h> #include <ardour/session.h> #include <ardour/utils.h> #include <ardour/configuration.h> @@ -1608,8 +1607,6 @@ Route::_reset_processor_counts (ProcessorStreams* err) } else if (boost::dynamic_pointer_cast<Send> (*r) != 0) { ++send_cnt; - } else if (boost::dynamic_pointer_cast<InternalSend> (*r) != 0) { - ++send_cnt; } } @@ -1673,7 +1670,6 @@ Route::_reset_processor_counts (ProcessorStreams* err) for (r = _processors.begin(); r != _processors.end(); prev = r, ++r) { boost::shared_ptr<Send> s; - boost::shared_ptr<InternalSend> is; if ((s = boost::dynamic_pointer_cast<Send> (*r)) != 0) { @@ -1687,16 +1683,6 @@ Route::_reset_processor_counts (ProcessorStreams* err) s->expect_inputs ((*prev)->output_streams()); } - } else if ((is = boost::dynamic_pointer_cast<InternalSend> (*r)) != 0) { - - /* XXX ditto, but clean this inheritance pattern up someday soon */ - - if (r == _processors.begin()) { - is->expect_inputs (n_inputs()); - } else { - is->expect_inputs ((*prev)->output_streams()); - } - } else { max_audio = max ((*r)->output_streams ().n_audio(), max_audio); |