[pulseaudio-tickets] [Bug 69522] New: high priority setting isn't respected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 18 04:19:08 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69522

          Priority: medium
            Bug ID: 69522
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: high priority setting isn't respected
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: pierre-bugzilla at ossman.eu
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: daemon
           Product: PulseAudio

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:

Index: src/daemon/main.c
===================================================================
--- src/daemon/main.c    (revision 27898)
+++ src/daemon/main.c    (working copy)
@@ -892,7 +892,8 @@
 #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)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130918/1b69bed3/attachment.html>


More information about the pulseaudio-bugs mailing list