From 1f33d60aff8af3db5e4e115b3ecb0aceff5f417e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 15 Apr 2012 17:12:09 +0000 Subject: [PATCH] Don't abort if mis-matched processors are found; a vaguely satisfactory workaround for crashes when loading sessions with missing plugins. git-svn-id: svn://localhost/ardour2/branches/3.0@11981 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 10898cac0e..6e36a133e9 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -522,10 +522,13 @@ Route::process_output_buffers (BufferSet& bufs, /* if it has any inputs, make sure they match */ if (boost::dynamic_pointer_cast (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) { if (bufs.count() != (*i)->input_streams()) { - cerr << _name << " bufs = " << bufs.count() - << " input for " << (*i)->name() << " = " << (*i)->input_streams() - << endl; - abort (); + DEBUG_TRACE ( + DEBUG::Processors, string_compose ( + "%1 bufs = %2 input for %3 = %4\n", + _name, bufs.count(), (*i)->name(), (*i)->input_streams() + ) + ); + continue; } } #endif