Unnecessary memset of the buffer

This commit is contained in:
paulfd 2019-08-29 11:05:28 +02:00
parent 15d28c46ed
commit c7184e531c

View file

@ -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);
};