diff --git a/sources/Synth.h b/sources/Synth.h index 17af967b..e9bcd4fe 100644 --- a/sources/Synth.h +++ b/sources/Synth.h @@ -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 randNoteDistribution { 0, 1 }; - + LEAK_DETECTOR(Synth); };