mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix additional for loop iterators that were lost in auto-fication
see also c469c33bc4
This commit is contained in:
parent
2bf4fd1796
commit
5960ad2e0f
1 changed files with 3 additions and 1 deletions
|
|
@ -1957,6 +1957,7 @@ Route::try_configure_processors_unlocked (ChanCount in, ProcessorStreams* err)
|
|||
DEBUG_TRACE (DEBUG::Processors, "}\n");
|
||||
return list<pair<ChanCount, ChanCount> > ();
|
||||
}
|
||||
++index;
|
||||
}
|
||||
|
||||
DEBUG_TRACE (DEBUG::Processors, "}\n");
|
||||
|
|
@ -2020,7 +2021,8 @@ Route::configure_processors_unlocked (ProcessorStreams* err, Glib::Threads::RWLo
|
|||
Glib::Threads::RWLock::ReaderLock lr (_processor_lock);
|
||||
|
||||
list< pair<ChanCount,ChanCount> >::iterator c = configuration.begin();
|
||||
for (auto & proc : _processors) {
|
||||
for (ProcessorList::iterator p = _processors.begin(); p != _processors.end(); ++p, ++c) {
|
||||
std::shared_ptr<Processor> proc = *p;
|
||||
|
||||
if (!proc->configure_io(c->first, c->second)) {
|
||||
DEBUG_TRACE (DEBUG::Processors, string_compose ("%1: configuration failed\n", _name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue