mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add compatibility option to force flushing to zero
This prevents Kush Audio REDDI from taking down the DAW when the host passes it denormalized audio to process. I've discovered that the issue with this plugin had to do with denormals in the issue linked below, but I didn't realize that we can just enable the FTZ flag for plugins that don't already do so. https://github.com/osxmidi/LinVst/issues/174
This commit is contained in:
@@ -108,6 +108,12 @@ Configuration::Configuration(const fs::path& config_path,
|
||||
} else {
|
||||
invalid_options.push_back(key);
|
||||
}
|
||||
} else if (key == "force_ftz") {
|
||||
if (const auto parsed_value = value.as_boolean()) {
|
||||
force_ftz = parsed_value->get();
|
||||
} else {
|
||||
invalid_options.push_back(key);
|
||||
}
|
||||
} else if (key == "frame_rate") {
|
||||
if (const auto parsed_value = value.as_floating_point()) {
|
||||
frame_rate = parsed_value->get();
|
||||
|
||||
Reference in New Issue
Block a user