mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-07 04:00:09 +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:
@@ -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