[pulseaudio-commits] r1701 - /branches/lennart/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Aug 22 10:11:55 PDT 2007


Author: lennart
Date: Wed Aug 22 19:11:54 2007
New Revision: 1701

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1701&root=3Dpulseaudio&vi=
ew=3Drev
Log:
reverse hrtimer check, add missing #include

Modified:
    branches/lennart/src/daemon/main.c

Modified: branches/lennart/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/mai=
n.c?rev=3D1701&root=3Dpulseaudio&r1=3D1700&r2=3D1701&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/main.c (original)
+++ branches/lennart/src/daemon/main.c Wed Aug 22 19:11:54 2007
@@ -79,6 +79,7 @@
 #include <pulsecore/namereg.h>
 #include <pulsecore/random.h>
 #include <pulsecore/rtsig.h>
+#include <pulsecore/rtclock.h>
 =

 #include "cmdline.h"
 #include "cpulimit.h"
@@ -574,7 +575,7 @@
     signal(SIGPIPE, SIG_IGN);
 #endif
 =

-    if (!pa_rtclock_hrtimer())
+    if (pa_rtclock_hrtimer())
         pa_log_debug("Fresh high-resolution timers available! Bon appetit!=
");
     else
         pa_log_info("Dude, your kernel stinks! The chef's recommendation t=
oday is Linux with high-resolution timers enabled!");




More information about the pulseaudio-commits mailing list