diff options
author | Doug McLain <doug@nostar.net> | 2008-06-09 21:39:25 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2008-06-09 21:39:25 +0000 |
commit | 4614909ea6be21074ddd4a28e409922a4d024a18 (patch) | |
tree | 778509b0cf941b3e9020bfc0698a48064951f143 /libs | |
parent | 570454f23a8a3d4bff17f87775104df78bb1b002 (diff) |
Fix for error loaing a 2input plugin following a mono to stereo splitter plugin on a mono track on the prefader box.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3450 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-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 f424740509..b4e963ebdc 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1186,6 +1186,7 @@ Route::_reset_plugin_counts (uint32_t* err_streams) /* A: PreFader */ if (check_some_plugin_counts (insert_map[PreFader], n_inputs (), err_streams)) { + cerr << "Pre -- going to streamcount, err_streams = " << *err_streams << endl;//DEBUG goto streamcount; } @@ -1193,9 +1194,7 @@ Route::_reset_plugin_counts (uint32_t* err_streams) if (!insert_map[PreFader].empty()) { InsertCount& ic (insert_map[PreFader].back()); - if (ic.insert->can_do (n_inputs(), initial_streams) < 0) { - goto streamcount; - } + initial_streams = ic.insert->output_streams (); } else { initial_streams = n_inputs (); } @@ -1203,6 +1202,7 @@ Route::_reset_plugin_counts (uint32_t* err_streams) /* B: PostFader */ if (check_some_plugin_counts (insert_map[PostFader], initial_streams, err_streams)) { + cerr << "Post -- going to streamcount, err_streams = " << *err_streams << endl;//DEBUG goto streamcount; } |