diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-11-01 02:58:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-11-01 02:58:26 +0000 |
commit | 7bfd1b2f01613dd14b9ca478ae530c1641aa46a1 (patch) | |
tree | 522566023e14a643afae3600d1b72b2865afebfa /src/modules/module-jack-sink.c | |
parent | 641d1fa96485f7a258ad958c4031e655767808a8 (diff) |
make rtprio and nice level actually configurable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2014 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-jack-sink.c')
-rw-r--r-- | src/modules/module-jack-sink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/module-jack-sink.c b/src/modules/module-jack-sink.c index 2cf8a58c..840867ce 100644 --- a/src/modules/module-jack-sink.c +++ b/src/modules/module-jack-sink.c @@ -214,8 +214,8 @@ static void thread_func(void *userdata) { pa_log_debug("Thread starting up"); - if (u->core->high_priority) - pa_make_realtime(); + if (u->core->realtime_scheduling) + pa_make_realtime(u->core->realtime_priority); pa_thread_mq_install(&u->thread_mq); pa_rtpoll_install(u->rtpoll); @@ -253,8 +253,8 @@ static void jack_init(void *arg) { pa_log_info("JACK thread starting up."); - if (u->core->high_priority) - pa_make_realtime(); + if (u->core->realtime_scheduling) + pa_make_realtime(u->core->realtime_priority+4); } static void jack_shutdown(void* arg) { |