mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Add option to work around bugs in REAPER/Renoise
This is not ideal since it requires the user to know about this option and to create a config file, but I think it's the best we can do without compromising on yabridge's transparency and 'zero hacks' philosophy. See #29 and #32.
This commit is contained in:
@@ -625,6 +625,7 @@ void PluginBridge::log_init_message() {
|
||||
init_msg << "config from: '"
|
||||
<< config.matched_file.value_or("<defaults>").string() << "'"
|
||||
<< std::endl;
|
||||
|
||||
init_msg << "hosting mode: '";
|
||||
if (config.group) {
|
||||
init_msg << "plugin group \"" << *config.group << "\"";
|
||||
@@ -637,10 +638,18 @@ void PluginBridge::log_init_message() {
|
||||
init_msg << ", 64-bit";
|
||||
}
|
||||
init_msg << "'" << std::endl;
|
||||
|
||||
bool other_options_set = false;
|
||||
init_msg << "other options: '";
|
||||
if (config.editor_double_embed) {
|
||||
init_msg << "editor: double embed";
|
||||
} else {
|
||||
other_options_set = true;
|
||||
}
|
||||
if (config.hack_reaper_update_display) {
|
||||
init_msg << "hack: REAPER 'audioMasterUpdateDisplay' workaround";
|
||||
other_options_set = true;
|
||||
}
|
||||
if (!other_options_set) {
|
||||
init_msg << "<none>";
|
||||
}
|
||||
init_msg << "'" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user