[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.22-21-g1e1b299
Colin Guthrie
gitmailer-noreply at 0pointer.de
Sun Jan 23 06:19:31 PST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The stable-queue branch has been updated
from 408072519ee1a8cb98b795ec1f429bf39413f3eb (commit)
- Log -----------------------------------------------------------------
1e1b299 Core: Fix incorrect check of return value
-----------------------------------------------------------------------
Summary of changes:
src/pulsecore/core-util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
commit 1e1b299784d07989901dc9e10ea0df1d2564ec72
Author: Scott Reeves <sreeves at novell.com>
Date: Thu Jan 20 16:41:21 2011 -0700
Core: Fix incorrect check of return value
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index a642553..b662a7e 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -680,7 +680,7 @@ int pa_make_realtime(int rtprio) {
}
for (p = rtprio-1; p >= 1; p--)
- if (set_scheduler(p)) {
+ if (set_scheduler(p) >= 0) {
pa_log_info("Successfully enabled SCHED_RR scheduling for thread, with priority %i, which is lower than the requested %i.", p, rtprio);
return 0;
}
@@ -750,7 +750,7 @@ int pa_raise_priority(int nice_level) {
}
for (n = nice_level+1; n < 0; n++)
- if (set_nice(n) > 0) {
+ if (set_nice(n) >= 0) {
pa_log_info("Successfully acquired nice level %i, which is lower than the requested %i.", n, nice_level);
return 0;
}
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list