mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Update notifications for yabridge 4.0
This commit is contained in:
@@ -206,15 +206,13 @@ class PluginBridge {
|
|||||||
init_msg
|
init_msg
|
||||||
<< " With a low memory locking limit, yabridge may not be"
|
<< " With a low memory locking limit, yabridge may not be"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
init_msg << " be able to map enough shared memory for its "
|
init_msg << " be able to lock its shared memory audio "
|
||||||
"audio buffers."
|
"buffers into";
|
||||||
|
init_msg << " main memory. Performance may be degraded until "
|
||||||
|
"you fix "
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
init_msg
|
init_msg << " this. Check the readme for instructions on how "
|
||||||
<< " Plugins with many input or output channels may cause"
|
"to do that."
|
||||||
<< std::endl;
|
|
||||||
init_msg << " yabridge to crash until you fix this. Check the"
|
|
||||||
<< std::endl;
|
|
||||||
init_msg << " readme for instructions on how to do that."
|
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
init_msg << std::endl;
|
init_msg << std::endl;
|
||||||
|
|
||||||
@@ -223,9 +221,9 @@ class PluginBridge {
|
|||||||
"The current memlock limit is set to " +
|
"The current memlock limit is set to " +
|
||||||
std::to_string(*memlock_limit) +
|
std::to_string(*memlock_limit) +
|
||||||
" bytes. This means that you have not yet set up "
|
" bytes. This means that you have not yet set up "
|
||||||
"realtime privileges for your user, and some plugins "
|
"realtime privileges for your user, and performance "
|
||||||
"may cause your DAW to crash until you fix this. Check "
|
"may be degraded until you fix this. Check the readme "
|
||||||
"the readme for instructions on how to do that.",
|
"for instructions on how to do that.",
|
||||||
std::nullopt);
|
std::nullopt);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -388,8 +386,6 @@ class PluginBridge {
|
|||||||
|
|
||||||
// Also show a desktop notification so users running from
|
// Also show a desktop notification so users running from
|
||||||
// the GUI get a heads up
|
// the GUI get a heads up
|
||||||
// FIXME: Go through these messages and update them to
|
|
||||||
// reflect the chainloading changes
|
|
||||||
send_notification(
|
send_notification(
|
||||||
"Failed to start the Wine plugin host",
|
"Failed to start the Wine plugin host",
|
||||||
"Check yabridge's output for more information on what "
|
"Check yabridge's output for more information on what "
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ void log_init_error(const std::exception& error, const fs::path& plugin_path) {
|
|||||||
// above message
|
// above message
|
||||||
send_notification(
|
send_notification(
|
||||||
"Failed to initialize VST2 plugin",
|
"Failed to initialize VST2 plugin",
|
||||||
error.what() + "\nCheck the plugin's output for more information"s,
|
error.what() +
|
||||||
|
"\nCheck the plugin's output in a terminal for more information"s,
|
||||||
plugin_path);
|
plugin_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,8 @@ void log_init_exception(const std::exception& error,
|
|||||||
// above message
|
// above message
|
||||||
send_notification(
|
send_notification(
|
||||||
"Failed to initialize VST3 plugin",
|
"Failed to initialize VST3 plugin",
|
||||||
error.what() + "\nCheck the plugin's output for more information"s,
|
error.what() +
|
||||||
|
"\nCheck the plugin's output in a terminal for more information"s,
|
||||||
plugin_path);
|
plugin_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user