mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
reverse hrtimer check, add missing #include
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1701 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b937009bcd
commit
79d3dddecd
1 changed files with 2 additions and 1 deletions
|
|
@ -79,6 +79,7 @@
|
||||||
#include <pulsecore/namereg.h>
|
#include <pulsecore/namereg.h>
|
||||||
#include <pulsecore/random.h>
|
#include <pulsecore/random.h>
|
||||||
#include <pulsecore/rtsig.h>
|
#include <pulsecore/rtsig.h>
|
||||||
|
#include <pulsecore/rtclock.h>
|
||||||
|
|
||||||
#include "cmdline.h"
|
#include "cmdline.h"
|
||||||
#include "cpulimit.h"
|
#include "cpulimit.h"
|
||||||
|
|
@ -574,7 +575,7 @@ int main(int argc, char *argv[]) {
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!pa_rtclock_hrtimer())
|
if (pa_rtclock_hrtimer())
|
||||||
pa_log_debug("Fresh high-resolution timers available! Bon appetit!");
|
pa_log_debug("Fresh high-resolution timers available! Bon appetit!");
|
||||||
else
|
else
|
||||||
pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
|
pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue