mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 13:00:02 +02:00
Get rid of hack_reaper_update_display
It is now no longer necessary.
This commit is contained in:
@@ -84,12 +84,6 @@ Configuration::Configuration(const fs::path& config_path,
|
||||
} else {
|
||||
invalid_options.push_back(key);
|
||||
}
|
||||
} else if (key == "hack_reaper_update_display") {
|
||||
if (const auto parsed_value = value.as_boolean()) {
|
||||
hack_reaper_update_display = parsed_value->get();
|
||||
} else {
|
||||
invalid_options.push_back(key);
|
||||
}
|
||||
} else if (key == "group") {
|
||||
if (const auto parsed_value = value.as_string()) {
|
||||
group = parsed_value->get();
|
||||
|
||||
@@ -87,16 +87,6 @@ class Configuration {
|
||||
*/
|
||||
bool editor_double_embed = false;
|
||||
|
||||
/**
|
||||
* If this is set to true, then any calls to `audioMasterUpdateDisplay()`
|
||||
* will automatically return 0 without being sent to the host. This is a
|
||||
* HACK to work around implementations issues in REAPER and Renoise, see #29
|
||||
* and #32.
|
||||
*
|
||||
* TODO: Remove for yabridge 1.8.0
|
||||
*/
|
||||
bool hack_reaper_update_display = false;
|
||||
|
||||
/**
|
||||
* The name of the plugin group that should be used for the plugin this
|
||||
* configuration object was created for. If not set, then the plugin should
|
||||
@@ -130,7 +120,6 @@ class Configuration {
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.value1b(editor_double_embed);
|
||||
s.value1b(hack_reaper_update_display);
|
||||
s.ext(group, bitsery::ext::StdOptional(),
|
||||
[](S& s, auto& v) { s.text1b(v, 4096); });
|
||||
s.ext(matched_file, bitsery::ext::StdOptional(),
|
||||
|
||||
Reference in New Issue
Block a user