[LAD] jack_is_realtime(client) issues

Hermann Meyer <brummer--S0/[email protected]> Sun, 24 Aug 2025 16:15:37 +0200
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
Hi

I running into issues with the jack_is_realtime(client) currently. The 
issue is, when the user didn't have permission to run real-time tasks, 
jackd starts with no real-time permission but jack_is_realtime(client) 
reports true as soon the -R is in the jackd commandline. The same is 
true for jack_client_real_time_priority(client). This call reports the 
real-time priority given in the command line, but not the one in use. 
So, when jackd starts without real-time priority, but -R is given on the 
command-line, it reports the priority from jackdrc while it runs at 
SCHED_OTHER without any priority.

Now, when I want to start my own threads I cant relay on the values 
reported by jackd, which render the functions useless.

I need to run my own tests in order to check if real-time priority could 
be set by the user or not.

regards

hermann
_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]