Warn on startup if RLIMIT_MEMLOCK is set too low

This should diagnose issues like #119.
This commit is contained in:
Robbert van der Helm
2021-07-18 23:12:10 +02:00
parent 5bce89d50b
commit 0e57f410a9
4 changed files with 60 additions and 5 deletions
+2
View File
@@ -14,6 +14,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
shared memory. If you have not yet set up realtime priviliges and memory
locking limits for your user, then yabridge may not be able to map enough
shared memory for processing audio in plugins with a lot of inputs or outputs.
- Also added a warning for thisq in the initialization message if yabridge
detects a low value for `RLIMIT_MEMLOCK`.
### Fixed