13
0

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:
Robin Gareus 2024-09-28 04:15:08 +02:00
parent 395833e4f8
commit 72deb74c58
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -758,7 +758,7 @@ ARDOUR_UI::check_memory_locking ()
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;
int64_t ram;