mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
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
This commit is contained in:
parent
ef8df41042
commit
b3093d8405
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ int pa_socket_low_delay(int fd) {
|
||||||
int priority;
|
int priority;
|
||||||
pa_assert(fd >= 0);
|
pa_assert(fd >= 0);
|
||||||
|
|
||||||
priority = 7;
|
priority = 6;
|
||||||
if (setsockopt(fd, SOL_SOCKET, SO_PRIORITY, (void*)&priority, sizeof(priority)) < 0) {
|
if (setsockopt(fd, SOL_SOCKET, SO_PRIORITY, (void*)&priority, sizeof(priority)) < 0) {
|
||||||
pa_log_warn("SO_PRIORITY failed: %s", pa_cstrerror(errno));
|
pa_log_warn("SO_PRIORITY failed: %s", pa_cstrerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue