From c0b7402b80c245c113f3747b261d3a39111ddaa7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 5 Mar 2014 14:18:46 -0500 Subject: [PATCH] do not subtract max priority from jack RT priority This subtraction (a) can create negative values (b) doesn't make any sense since we just add 10 to the jack priority later. --- zalsa/jackclient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zalsa/jackclient.cc b/zalsa/jackclient.cc index c82578f..a7f9389 100644 --- a/zalsa/jackclient.cc +++ b/zalsa/jackclient.cc @@ -70,7 +70,7 @@ void Jackclient::init (const char *jserv) register_ports (_nchan); } - _rprio = jack_client_real_time_priority (_client) - sched_get_priority_max (spol); + _rprio = jack_client_real_time_priority (_client); } void Jackclient::register_ports (int n)