Unnecessary memset of the buffer
This commit is contained in:
parent
15d28c46ed
commit
c7184e531c
1 changed files with 1 additions and 2 deletions
|
|
@ -64,7 +64,6 @@ public:
|
|||
for (auto& voice : voices) {
|
||||
voice->renderBlock(tempSpan);
|
||||
buffer.add(tempSpan);
|
||||
tempBuffer.fill(0.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -188,7 +187,7 @@ private:
|
|||
std::random_device rd {};
|
||||
std::mt19937 randomGenerator { rd() };
|
||||
std::uniform_real_distribution<float> randNoteDistribution { 0, 1 };
|
||||
|
||||
|
||||
LEAK_DETECTOR(Synth);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue