Allow hiding the DAW name for VST2 plugins

This can be useful when plugins have (broken) host-specific behaviour
that you want to avoid. I'll later add a list of host/plugin
combinations where this may be useful to the readme.
This commit is contained in:
Robbert van der Helm
2021-04-27 18:41:24 +02:00
parent 38abdbee50
commit 3a73fb9689
7 changed files with 93 additions and 11 deletions
+6
View File
@@ -119,6 +119,12 @@ Configuration::Configuration(const fs::path& config_path,
} else {
invalid_options.push_back(key);
}
} else if (key == "hide_daw") {
if (const auto parsed_value = value.as_boolean()) {
hide_daw = parsed_value->get();
} else {
invalid_options.push_back(key);
}
} else if (key == "vst3_no_scaling") {
if (const auto parsed_value = value.as_boolean()) {
vst3_no_scaling = parsed_value->get();