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
This commit is contained in:
Lennart Poettering 2007-09-18 23:21:06 +00:00
parent b3093d8405
commit 1fd9afdf7d
2 changed files with 30 additions and 30 deletions

View file

@ -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);