mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
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:
@@ -138,6 +138,15 @@ class Configuration {
|
||||
*/
|
||||
std::optional<float> frame_rate;
|
||||
|
||||
/**
|
||||
* When this option is enabled, we'll report some random other string
|
||||
* instead of the actual name of the host when the plugin queries it. This
|
||||
* can sometimes be useful when a plugin has undesirable host-specific
|
||||
* behaviour. See the readme for some examples of where this might be
|
||||
* useful.
|
||||
*/
|
||||
bool hide_daw = false;
|
||||
|
||||
/**
|
||||
* Disable `IPlugViewContentScaleSupport::setContentScaleFactor()`. Wine
|
||||
* does not properly implement fractional DPI scaling, so without this
|
||||
@@ -198,6 +207,7 @@ class Configuration {
|
||||
s.value1b(editor_xembed);
|
||||
s.ext(frame_rate, bitsery::ext::StdOptional(),
|
||||
[](S& s, auto& v) { s.value4b(v); });
|
||||
s.value1b(hide_daw);
|
||||
s.value1b(vst3_no_scaling);
|
||||
s.value1b(vst3_prefer_32bit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user