summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/rtpoll.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-18 23:21:06 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-18 23:21:06 +0000
commit1fd9afdf7d4a46ec324d002b3f23c23eebff1795 (patch)
tree41522d5bc6e4f44ea6070150c07a5c28c2fd7de9 /src/pulsecore/rtpoll.h
parentb3093d84055ddc6cf26853a676f04692f748049b (diff)
make use of pa_bool_t on a few places where applicable; really start work_cb
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1863 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/rtpoll.h')
-rw-r--r--src/pulsecore/rtpoll.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/rtpoll.h b/src/pulsecore/rtpoll.h
index ee6cc06c..a1242b38 100644
--- a/src/pulsecore/rtpoll.h
+++ b/src/pulsecore/rtpoll.h
@@ -31,6 +31,7 @@
#include <pulse/sample.h>
#include <pulsecore/asyncmsgq.h>
#include <pulsecore/fdsem.h>
+#include <pulsecore/macro.h>
/* An implementation of a "real-time" poll loop. Basically, this is
* yet another wrapper around poll(). However it has certain
@@ -72,7 +73,7 @@ void pa_rtpoll_install(pa_rtpoll *p);
* struct pollfd. Returns negative on error, positive if the loop
* should continue to run, 0 when the loop should be terminated
* cleanly. */
-int pa_rtpoll_run(pa_rtpoll *f, int wait);
+int pa_rtpoll_run(pa_rtpoll *f, pa_bool_t wait);
void pa_rtpoll_set_timer_absolute(pa_rtpoll *p, const struct timespec *ts);
void pa_rtpoll_set_timer_periodic(pa_rtpoll *p, pa_usec_t usec);