[pulseaudio-commits] r1862 - /branches/lennart/src/pulsecore/socket-util.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Sep 18 15:29:25 PDT 2007
Author: lennart
Date: Wed Sep 19 00:29:24 2007
New Revision: 1862
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1862&root=pulseaudio&view=rev
Log:
lower SO_PRIORITY priority to 6, since this is the best we get without being root
Modified:
branches/lennart/src/pulsecore/socket-util.c
Modified: branches/lennart/src/pulsecore/socket-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/socket-util.c?rev=1862&root=pulseaudio&r1=1861&r2=1862&view=diff
==============================================================================
--- branches/lennart/src/pulsecore/socket-util.c (original)
+++ branches/lennart/src/pulsecore/socket-util.c Wed Sep 19 00:29:24 2007
@@ -149,7 +149,7 @@
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;
More information about the pulseaudio-commits
mailing list