summaryrefslogtreecommitdiff
path: root/src/modules/module-solaris.c
diff options
context:
space:
mode:
authorArun Raghavan <arun@arunraghavan.net>2018-04-21 09:45:26 +0530
committerArun Raghavan <arun@arunraghavan.net>2018-06-21 06:29:32 +0530
commit878ef440797f0fe319dcb1e866c29cec39b8a36d (patch)
treeff35e961045a146bacc661a7ac13b68af9d50ca7 /src/modules/module-solaris.c
parent651a3d108e5b4f1f0e5f19c508565c9fce290b6a (diff)
core: Expose API to elevate a thread to realtime priority
This should make it easier for clients to elevate their audio threads to real time priority without having to dig through much through specific system internals.
Diffstat (limited to 'src/modules/module-solaris.c')
-rw-r--r--src/modules/module-solaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-solaris.c b/src/modules/module-solaris.c
index 240ed855c..038aca114 100644
--- a/src/modules/module-solaris.c
+++ b/src/modules/module-solaris.c
@@ -650,7 +650,7 @@ static void thread_func(void *userdata) {
pa_log_debug("Thread starting up");
if (u->core->realtime_scheduling)
- pa_make_realtime(u->core->realtime_priority);
+ pa_thread_make_realtime(u->core->realtime_priority);
pa_thread_mq_install(&u->thread_mq);