mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
check pa_core::high_priority before becoming rt thread
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1694 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b3029464a4
commit
7fca89034f
3 changed files with 6 additions and 3 deletions
|
|
@ -527,7 +527,8 @@ static void thread_func(void *userdata) {
|
|||
|
||||
pa_log_debug("Thread starting up");
|
||||
|
||||
pa_make_realtime();
|
||||
if (u->core->high_priority)
|
||||
pa_make_realtime();
|
||||
|
||||
pa_thread_mq_install(&u->thread_mq);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue