mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
daemon-conf: changing default rlimit_rttime value to 200 ms
Since rtkit v11, the top limit for rttime is 200 ms (previously it was wrongly limited to 2 seconds). Reviewed-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
This commit is contained in:
parent
273aee1cf5
commit
4ac62d4690
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ static const pa_daemon_conf default_conf = {
|
|||
,.rlimit_rtprio = { .value = 9, .is_set = true } /* One below JACK's default for the server */
|
||||
#endif
|
||||
#ifdef RLIMIT_RTTIME
|
||||
,.rlimit_rttime = { .value = PA_USEC_PER_SEC, .is_set = true }
|
||||
,.rlimit_rttime = { .value = 200*PA_USEC_PER_MSEC, .is_set = true } /* rtkit's limit is 200 ms */
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
|
|||
; rlimit-msgqueue = -1
|
||||
; rlimit-nice = 31
|
||||
; rlimit-rtprio = 9
|
||||
; rlimit-rttime = 1000000
|
||||
; rlimit-rttime = 200000
|
||||
])dnl
|
||||
|
||||
; default-sample-format = s16le
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue