diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-15 17:12:09 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-15 17:12:09 +0000 |
commit | 1f33d60aff8af3db5e4e115b3ecb0aceff5f417e (patch) | |
tree | 8753a4f656f39a8eb97b078922add80131f74bf5 /libs/ardour | |
parent | bef36b6f6593258796beb56a1e9387b3f315c73f (diff) |
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
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/route.cc | 11 |
1 files 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<UnknownProcessor> (*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 |