summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-18 22:29:24 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-18 22:29:24 +0000
commitb3093d84055ddc6cf26853a676f04692f748049b (patch)
tree1cf9f4b920696eda124efa7c33b58c2d784260c3
parentef8df4104294a58af643b908077a90c78c4055da (diff)
lower SO_PRIORITY priority to 6, since this is the best we get without being root
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1862 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulsecore/socket-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/socket-util.c b/src/pulsecore/socket-util.c
index cd912bf0..b7361e90 100644
--- a/src/pulsecore/socket-util.c
+++ b/src/pulsecore/socket-util.c
@@ -149,7 +149,7 @@ int pa_socket_low_delay(int fd) {
int priority;
pa_assert(fd >= 0);
- priority = 7;
+ priority = 6;
if (setsockopt(fd, SOL_SOCKET, SO_PRIORITY, (void*)&priority, sizeof(priority)) < 0) {
pa_log_warn("SO_PRIORITY failed: %s", pa_cstrerror(errno));
return -1;