From b029d81a72683259e3473f4fffb68b11125af4e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 7 Feb 2007 12:45:53 +0000 Subject: [PATCH] ignore send output counts when computing effect of redirects on route stream count git-svn-id: svn://localhost/ardour2/trunk@1429 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index d3097dd776..2ac94cd239 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1147,9 +1147,16 @@ Route::_reset_plugin_counts (uint32_t* err_streams) } else { s->expect_inputs ((*prev)->output_streams()); } - } - redirect_max_outs = max ((*r)->output_streams (), redirect_max_outs); + } else { + + /* don't pay any attention to send output configuration, since it doesn't + affect the route. + */ + + redirect_max_outs = max ((*r)->output_streams (), redirect_max_outs); + + } } /* we're done */