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
This commit is contained in:
parent
bef36b6f65
commit
1f33d60aff
@ -522,10 +522,13 @@ Route::process_output_buffers (BufferSet& bufs,
|
|||||||
/* if it has any inputs, make sure they match */
|
/* if it has any inputs, make sure they match */
|
||||||
if (boost::dynamic_pointer_cast<UnknownProcessor> (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) {
|
if (boost::dynamic_pointer_cast<UnknownProcessor> (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) {
|
||||||
if (bufs.count() != (*i)->input_streams()) {
|
if (bufs.count() != (*i)->input_streams()) {
|
||||||
cerr << _name << " bufs = " << bufs.count()
|
DEBUG_TRACE (
|
||||||
<< " input for " << (*i)->name() << " = " << (*i)->input_streams()
|
DEBUG::Processors, string_compose (
|
||||||
<< endl;
|
"%1 bufs = %2 input for %3 = %4\n",
|
||||||
abort ();
|
_name, bufs.count(), (*i)->name(), (*i)->input_streams()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user