[pulseaudio-commits] src/daemon

David Henningsson diwic at kemper.freedesktop.org
Fri Nov 1 14:52:30 CET 2013


 src/daemon/main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4262d6a14f6292a5f3a883ce82b4edad230ee16f
Author: Pierre Ossman <pierre-bugzilla at ossman.eu>
Date:   Fri Nov 1 14:50:51 2013 +0100

    daemon conf: "high-priority" setting isn't respected
    
    The code got removed by accident during the cleanup in commit 9c438bcac671. So
    this patch is needed to bring it back and make things work like documented.

diff --git a/src/daemon/main.c b/src/daemon/main.c
index 730c3a3..58cacf8 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -900,7 +900,8 @@ int main(int argc, char *argv[]) {
 #endif
     pa_rtclock_hrtimer_enable();
 
-    pa_raise_priority(conf->nice_level);
+    if (conf->high_priority)
+        pa_raise_priority(conf->nice_level);
 
     if (conf->system_instance)
         if (change_user() < 0)



More information about the pulseaudio-commits mailing list