mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-06-11 23:04:01 +02:00
Add quality scaling support
This commit is contained in:
@@ -252,6 +252,18 @@ namespace NAM {
|
||||
}
|
||||
}
|
||||
|
||||
if (*(ports.quality_scale) != qualityScale)
|
||||
{
|
||||
qualityScale = *(ports.quality_scale);
|
||||
|
||||
NeuralAudio::NeuralModel::SetDefaultQualityScaleFactor(qualityScale);
|
||||
|
||||
if (currentModel != nullptr)
|
||||
{
|
||||
currentModel->SetQualityScaleFactor(qualityScale);
|
||||
}
|
||||
}
|
||||
|
||||
float level;
|
||||
|
||||
float modelInputAdjustmentDB = 0;
|
||||
|
||||
Reference in New Issue
Block a user