increased scheduling mojo for now. It's not clear that it's a win; and
if it is, the policy should just be fixed to always allow it.
22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
diff -up pulseaudio-0.9.8/src/daemon/main.c.jx pulseaudio-0.9.8/src/daemon/main.c
|
|
--- pulseaudio-0.9.8/src/daemon/main.c.jx 2008-03-12 16:06:03.000000000 -0400
|
|
+++ pulseaudio-0.9.8/src/daemon/main.c 2008-03-12 16:17:59.000000000 -0400
|
|
@@ -416,7 +416,7 @@ int main(int argc, char *argv[]) {
|
|
|
|
#ifdef HAVE_POLKIT
|
|
if (conf->high_priority) {
|
|
- if (pa_polkit_check("org.pulseaudio.acquire-high-priority") > 0) {
|
|
+ if (0 && pa_polkit_check("org.pulseaudio.acquire-high-priority") > 0) {
|
|
pa_log_info("PolicyKit grants us acquire-high-priority privilige.");
|
|
allow_high_priority = TRUE;
|
|
} else
|
|
@@ -424,7 +424,7 @@ int main(int argc, char *argv[]) {
|
|
}
|
|
|
|
if (conf->realtime_scheduling) {
|
|
- if (pa_polkit_check("org.pulseaudio.acquire-real-time") > 0) {
|
|
+ if (0 && pa_polkit_check("org.pulseaudio.acquire-real-time") > 0) {
|
|
pa_log_info("PolicyKit grants us acquire-real-time privilige.");
|
|
allow_realtime = TRUE;
|
|
} else
|