diff --git a/deps/NeuralAmpModelerCore b/deps/NeuralAmpModelerCore index de9cf22..2728ec7 160000 --- a/deps/NeuralAmpModelerCore +++ b/deps/NeuralAmpModelerCore @@ -1 +1 @@ -Subproject commit de9cf22b0df6dada8f33f35ff98613933b411e96 +Subproject commit 2728ec7b6cafae6e974c6e610c767d9148a9c9ea diff --git a/src/nam_plugin.cpp b/src/nam_plugin.cpp index 5ab5da1..1c6143b 100644 --- a/src/nam_plugin.cpp +++ b/src/nam_plugin.cpp @@ -120,6 +120,7 @@ namespace NAM { if (const int32_t numSamples = nam->maxBufferSize) { float* buffer = new float[numSamples]; + memset(buffer, 0, numSamples * sizeof(float)); std::unordered_map params = {}; model->process(&buffer, &buffer, 1, numSamples, 1.0, 1.0, params);