From 98cb6aa4a30a993ddf2c15f0a03cb4d94383d4d9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 20 Feb 2006 17:09:39 +0000 Subject: * a lot of doxygen updates * s/pa_operation_callback/pa_operation_callback_t/g * add more typedefs for function prototypes * add API to query the channel map used by a pa_stream git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@530 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polyp/mainloop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/polyp/mainloop.h') diff --git a/src/polyp/mainloop.h b/src/polyp/mainloop.h index eeb23884..d0a40914 100644 --- a/src/polyp/mainloop.h +++ b/src/polyp/mainloop.h @@ -35,9 +35,7 @@ PA_C_DECL_BEGIN * defined in \ref mainloop-api.h. This implementation is thread safe * as long as you access the main loop object from a single thread only.*/ -/** \struct pa_mainloop - * An opaque main loop object - */ +/** An opaque main loop object */ typedef struct pa_mainloop pa_mainloop; /** Allocate a new main loop object */ @@ -52,8 +50,10 @@ poll, or -1 for blocking behaviour. Defer events are also dispatched when this function is called. On success returns the number of source dispatched in this iteration.*/ int pa_mainloop_prepare(pa_mainloop *m, int timeout); + /** Execute the previously prepared poll. Returns a negative value on error.*/ int pa_mainloop_poll(pa_mainloop *m); + /** Dispatch timeout and io events from the previously executed poll. Returns a negative value on error. On success returns the number of source dispatched. */ int pa_mainloop_dispatch(pa_mainloop *m); -- cgit