mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
auto-fication of a loop in InternalReturn
This commit is contained in:
parent
d36e7d2f91
commit
dc4bf9b8ce
1 changed files with 3 additions and 3 deletions
|
|
@ -47,9 +47,9 @@ InternalReturn::run (BufferSet& bufs, samplepos_t /*start_sample*/, samplepos_t
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (list<InternalSend*>::iterator i = _sends.begin(); i != _sends.end(); ++i) {
|
for (auto & send : _sends) {
|
||||||
if ((*i)->active () && (!(*i)->source_route() || (*i)->source_route()->active())) {
|
if (send->active () && (!send->source_route() || send->source_route()->active())) {
|
||||||
bufs.merge_from ((*i)->get_buffers(), nframes);
|
bufs.merge_from (send->get_buffers(), nframes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue