Bug 69522

Summary: high priority setting isn't respected
Product: PulseAudio Reporter: Pierre Ossman <pierre-bugzilla>
Component: daemonAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: astrand, lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pierre Ossman 2013-09-18 11:19:08 UTC
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)
Comment 1 David Henningsson 2013-11-01 13:52:55 UTC
Patch committed, thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.