Home
last modified time | relevance | path

Searched refs:slack_ns (Results 1 – 1 of 1) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dcore-rtclock.c157 int slack_ns; in pa_rtclock_hrtimer_enable() local
159 if ((slack_ns = prctl(PR_GET_TIMERSLACK, 0, 0, 0, 0)) < 0) { in pa_rtclock_hrtimer_enable()
164 pa_log_debug("Timer slack is set to %i us.", (int) (slack_ns/PA_NSEC_PER_USEC)); in pa_rtclock_hrtimer_enable()
166 if (slack_ns > TIMER_SLACK_NS) { in pa_rtclock_hrtimer_enable()
167 slack_ns = TIMER_SLACK_NS; in pa_rtclock_hrtimer_enable()
169 pa_log_debug("Setting timer slack to %i us.", (int) (slack_ns/PA_NSEC_PER_USEC)); in pa_rtclock_hrtimer_enable()
171 if (prctl(PR_SET_TIMERSLACK, slack_ns, 0, 0, 0) < 0) { in pa_rtclock_hrtimer_enable()