mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
* 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
This commit is contained in:
parent
71e063a695
commit
98cb6aa4a3
18 changed files with 125 additions and 100 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue