From 72deb74c58a0403c652dfbb87aad597c7f3244cf Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 28 Sep 2024 04:15:08 +0200 Subject: [PATCH] Unconditionally check for mlock Prepare for `is_realtime` API removal. All backend except for Dummy and sometimes JACK are realtime anyway. --- gtk2_ardour/ardour_ui_startup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui_startup.cc b/gtk2_ardour/ardour_ui_startup.cc index a2ac3b953b..e22db6cd6b 100644 --- a/gtk2_ardour/ardour_ui_startup.cc +++ b/gtk2_ardour/ardour_ui_startup.cc @@ -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;