[pulseaudio-discuss] [PATCH] daemon: Sanitise message about unsupported high res timers

Tanu Kaskinen tanuk at iki.fi
Sun Dec 20 21:37:22 PST 2015


On Mon, 2015-12-21 at 10:59 +0530, arun at accosted.net wrote:
> From: Arun Raghavan <git at arunraghavan.net>
> 
> ---
>  src/daemon/main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/daemon/main.c b/src/daemon/main.c
> index c7b15e7..c2f47b6 100644
> --- a/src/daemon/main.c
> +++ b/src/daemon/main.c
> @@ -998,9 +998,9 @@ int main(int argc, char *argv[]) {
>      pa_disable_sigpipe();
>  
>      if (pa_rtclock_hrtimer())
> -        pa_log_info("Fresh high-resolution timers available! Bon appetit.");
> +        pa_log_info("System supports high resolution timers");
>      else
> -        pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled.");
> +        pa_log_info("System appears to not support high resolution timers");
>  
>      if (conf->lock_memory) {
>  #if defined(HAVE_SYS_MMAN_H) && !defined(__ANDROID__)

Ack.

-- 
Tanu


More information about the pulseaudio-discuss mailing list