Loop by reference
This commit is contained in:
parent
6461b4f4b4
commit
f30675d0d8
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ void sfz::Voice::renderBlock(AudioSpan<float> buffer) noexcept
|
|||
|
||||
const float* inputChannels[2] { buffer.getChannel(0), buffer.getChannel(1) };
|
||||
float* outputChannels[2] { buffer.getChannel(0), buffer.getChannel(1) };
|
||||
for (auto filter: filters) {
|
||||
for (auto& filter: filters) {
|
||||
filter->process(inputChannels, outputChannels, buffer.getNumFrames());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue