diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-10 01:31:53 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-10 01:31:53 +0000 |
commit | 6f14394c958409a8a4153b5ab929670cc1970937 (patch) | |
tree | a9891744e6eed8ae750a0ce1309ee93856841251 /libs/ardour/route.cc | |
parent | bd66734a598f095a1929d5f877c36c90f72f42df (diff) |
Fixes to port inserts.
git-svn-id: svn://localhost/ardour2/branches/3.0@4514 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 14a8537068..452d611d87 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1602,7 +1602,7 @@ Route::_reset_processor_counts (ProcessorStreams* err) plugin_insert->set_count (1); } else if ((port_insert = boost::dynamic_pointer_cast<PortInsert>(*r)) != 0) { - + ++insert_cnt; proc_map[(*r)->placement()].push_back (ProcessorCount (*r)); @@ -1635,7 +1635,7 @@ Route::_reset_processor_counts (ProcessorStreams* err) if (!proc_map[PreFader].empty()) { previous_initial_streams = n_inputs (); for (list<ProcessorCount>::iterator i = proc_map[PreFader].begin(); i != proc_map[PreFader].end(); i++) { - if (i->processor->can_support_io_configuration (previous_initial_streams, initial_streams) < 0) { + if (i->processor->can_support_io_configuration (previous_initial_streams, initial_streams) == false) { goto streamcount; } previous_initial_streams = initial_streams; @@ -1650,7 +1650,7 @@ Route::_reset_processor_counts (ProcessorStreams* err) if (!proc_map[PostFader].empty()) { for (list<ProcessorCount>::iterator i = proc_map[PostFader].begin(); i != proc_map[PostFader].end(); i++) { - if (i->processor->can_support_io_configuration (previous_initial_streams, initial_streams) < 0) { + if (i->processor->can_support_io_configuration (previous_initial_streams, initial_streams) == false) { goto streamcount; } previous_initial_streams = initial_streams; |