From b1c3f0d7ccce8feafa9f043aa5a4ee32bc78624e Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 13 Feb 2011 22:19:33 +0000 Subject: Fixed MusE failing with non-RT kernel. Fixed dummy audio thread not running FIFO with RT kernel. --- muse2/muse/app.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'muse2/muse/app.cpp') diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 55f840b6..c1e86a2c 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -1246,6 +1246,11 @@ MusE::MusE(int argc, char** argv) : QMainWindow() panicToolbar->setObjectName("Panic"); panicToolbar->addAction(panicAction); + + //rlimit lim; + //getrlimit(RLIMIT_RTPRIO, &lim); + //printf("RLIMIT_RTPRIO soft:%d hard:%d\n", lim.rlim_cur, lim.rlim_max); // Reported 80, 80 even with non-RT kernel. + if (realTimePriority < sched_get_priority_min(SCHED_FIFO)) realTimePriority = sched_get_priority_min(SCHED_FIFO); else if (realTimePriority > sched_get_priority_max(SCHED_FIFO)) -- cgit v1.2.3