mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-06 19:50:11 +02:00
Initialize model pre-run buffer to zero. Update to latest devel NAM Core with pre-warm instead of anti-pop.
This commit is contained in:
Vendored
+1
-1
Submodule deps/NeuralAmpModelerCore updated: de9cf22b0d...2728ec7b6c
@@ -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<std::string, double> params = {};
|
||||
model->process(&buffer, &buffer, 1, numSamples, 1.0, 1.0, params);
|
||||
|
||||
Reference in New Issue
Block a user