mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
use realtime scheduling for ALSA and OSS driver threads
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1679 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
876e682ad8
commit
2d292befab
3 changed files with 6 additions and 0 deletions
|
|
@ -527,6 +527,8 @@ static void thread_func(void *userdata) {
|
||||||
|
|
||||||
pa_log_debug("Thread starting up");
|
pa_log_debug("Thread starting up");
|
||||||
|
|
||||||
|
pa_make_realtime();
|
||||||
|
|
||||||
pa_thread_mq_install(&u->thread_mq);
|
pa_thread_mq_install(&u->thread_mq);
|
||||||
|
|
||||||
if (build_pollfd(u) < 0)
|
if (build_pollfd(u) < 0)
|
||||||
|
|
|
||||||
|
|
@ -516,6 +516,8 @@ static void thread_func(void *userdata) {
|
||||||
|
|
||||||
pa_log_debug("Thread starting up");
|
pa_log_debug("Thread starting up");
|
||||||
|
|
||||||
|
pa_make_realtime();
|
||||||
|
|
||||||
pa_thread_mq_install(&u->thread_mq);
|
pa_thread_mq_install(&u->thread_mq);
|
||||||
|
|
||||||
if (build_pollfd(u) < 0)
|
if (build_pollfd(u) < 0)
|
||||||
|
|
|
||||||
|
|
@ -791,6 +791,8 @@ static void thread_func(void *userdata) {
|
||||||
|
|
||||||
pa_log_debug("Thread starting up");
|
pa_log_debug("Thread starting up");
|
||||||
|
|
||||||
|
pa_make_realtime();
|
||||||
|
|
||||||
pa_thread_mq_install(&u->thread_mq);
|
pa_thread_mq_install(&u->thread_mq);
|
||||||
|
|
||||||
trigger(u, 0);
|
trigger(u, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue