mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Reword memlock warning message
This commit is contained in:
@@ -177,19 +177,20 @@ class PluginBridge {
|
|||||||
if (auto memlock_limit = get_memlock_limit()) {
|
if (auto memlock_limit = get_memlock_limit()) {
|
||||||
if (*memlock_limit != RLIM_INFINITY &&
|
if (*memlock_limit != RLIM_INFINITY &&
|
||||||
*memlock_limit < memlock_min_safe_threshold) {
|
*memlock_limit < memlock_min_safe_threshold) {
|
||||||
init_msg << "memlock limit: 'WARNING: " << *memlock_limit
|
init_msg << "memlock limit: '" << *memlock_limit
|
||||||
<< " bytes, see below'" << std::endl;
|
<< " bytes, see below'" << std::endl;
|
||||||
init_msg << std::endl;
|
init_msg << std::endl;
|
||||||
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 audio "
|
init_msg << " be able to map enough shared memory for its "
|
||||||
"buffers,"
|
"audio buffers."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
init_msg << " yabridge may crash when using plugins with "
|
init_msg
|
||||||
"many inputs"
|
<< " Plugins with many input or output channels may cause"
|
||||||
|
<< std::endl;
|
||||||
|
init_msg << " yabridge to crash until you fix this."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
init_msg << " or outputs until you fix this." << std::endl;
|
|
||||||
init_msg << std::endl;
|
init_msg << std::endl;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user