Unconditionally check for mlock
Prepare for `is_realtime` API removal. All backend except for Dummy and sometimes JACK are realtime anyway.
This commit is contained in:
parent
395833e4f8
commit
72deb74c58
@ -758,7 +758,7 @@ ARDOUR_UI::check_memory_locking ()
|
|||||||
|
|
||||||
XMLNode* memory_warning_node = Config->instant_xml (X_("no-memory-warning"));
|
XMLNode* memory_warning_node = Config->instant_xml (X_("no-memory-warning"));
|
||||||
|
|
||||||
if (AudioEngine::instance()->is_realtime() && memory_warning_node == 0) {
|
if (memory_warning_node == 0) {
|
||||||
|
|
||||||
struct rlimit limits;
|
struct rlimit limits;
|
||||||
int64_t ram;
|
int64_t ram;
|
||||||
|
Loading…
Reference in New Issue
Block a user