Show desktop notification for low RLIMIT_RTTIME

For the same reason as the last commit, since people otherwise just miss
this.
This commit is contained in:
Robbert van der Helm
2021-09-21 15:37:37 +02:00
parent e347944e38
commit 7760c4bb6c
2 changed files with 22 additions and 1 deletions
+16 -1
View File
@@ -159,8 +159,23 @@ class PluginBridge {
init_msg << " using PipeWire. yabridge may crash when "
"loading plugins"
<< std::endl;
init_msg << " until you fix this." << std::endl;
init_msg << " until you fix this. Check the readme for "
"instructions"
<< std::endl;
init_msg << " on how to fix this." << std::endl;
init_msg << std::endl;
send_notification(
"Low RTTIME limit detected",
"RLIMIT_RTTIME is set to " +
std::to_string(*rttime_limit) +
" us. This can happen when using PipeWire's JACK "
"backend with the default settings. Some plugins "
"may crash during initialization because of this, "
"so it's recommended to either increase or to "
"remove this limit. Check the readme for "
"instructions on how to do that.",
false);
} else {
init_msg << "'yes'" << std::endl;
}