mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Update Route to handle UnknownProcessors as Stubs.
This commit is contained in:
parent
f7a670bc79
commit
e7bbed3150
2 changed files with 0 additions and 13 deletions
|
|
@ -207,9 +207,6 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou
|
|||
void foreach_processor (boost::function<void(boost::weak_ptr<Processor>)> method) {
|
||||
Glib::Threads::RWLock::ReaderLock lm (_processor_lock);
|
||||
for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
||||
if (boost::dynamic_pointer_cast<UnknownProcessor> (*i)) {
|
||||
break;
|
||||
}
|
||||
method (boost::weak_ptr<Processor> (*i));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1878,12 +1878,6 @@ Route::try_configure_processors_unlocked (ChanCount in, ProcessorStreams* err)
|
|||
|
||||
for (ProcessorList::iterator p = _processors.begin(); p != _processors.end(); ++p, ++index) {
|
||||
|
||||
if (boost::dynamic_pointer_cast<UnknownProcessor> (*p)) {
|
||||
DEBUG_TRACE (DEBUG::Processors, "--- CONFIGURE ABORTED due to unknown processor.\n");
|
||||
DEBUG_TRACE (DEBUG::Processors, "}\n");
|
||||
return list<pair<ChanCount, ChanCount> > ();
|
||||
}
|
||||
|
||||
if ((*p)->can_support_io_configuration(in, out)) {
|
||||
DEBUG_TRACE (DEBUG::Processors, string_compose ("\t%1 ID=%2 in=%3 out=%4\n",(*p)->name(), (*p)->id(), in, out));
|
||||
configuration.push_back(make_pair(in, out));
|
||||
|
|
@ -1940,10 +1934,6 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
|
|||
list< pair<ChanCount,ChanCount> >::iterator c = configuration.begin();
|
||||
for (ProcessorList::iterator p = _processors.begin(); p != _processors.end(); ++p, ++c) {
|
||||
|
||||
if (boost::dynamic_pointer_cast<UnknownProcessor> (*p)) {
|
||||
break;
|
||||
}
|
||||
|
||||
(*p)->configure_io(c->first, c->second);
|
||||
processor_max_streams = ChanCount::max(processor_max_streams, c->first);
|
||||
processor_max_streams = ChanCount::max(processor_max_streams, c->second);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue