PulseAudio
16.0
|
GLIB main loop support. More...
Go to the source code of this file.
Typedefs | |
typedef struct pa_glib_mainloop | pa_glib_mainloop |
An opaque GLIB main loop object. More... | |
Functions | |
pa_glib_mainloop * | pa_glib_mainloop_new (GMainContext *c) |
Create a new GLIB main loop object for the specified GLIB main loop context. More... | |
void | pa_glib_mainloop_free (pa_glib_mainloop *g) |
Free the GLIB main loop object. More... | |
pa_mainloop_api * | pa_glib_mainloop_get_api (pa_glib_mainloop *g) |
Return the abstract main loop API vtable for the GLIB main loop object. More... | |
GLIB main loop support.
See also GLIB Main Loop Bindings
typedef struct pa_glib_mainloop pa_glib_mainloop |
An opaque GLIB main loop object.
void pa_glib_mainloop_free | ( | pa_glib_mainloop * | g | ) |
Free the GLIB main loop object.
pa_mainloop_api* pa_glib_mainloop_get_api | ( | pa_glib_mainloop * | g | ) |
Return the abstract main loop API vtable for the GLIB main loop object.
No need to free the API as it is owned by the loop and is destroyed when the loop is freed.
pa_glib_mainloop* pa_glib_mainloop_new | ( | GMainContext * | c | ) |
Create a new GLIB main loop object for the specified GLIB main loop context.
Takes an argument c for the GMainContext to use. If c is NULL the default context is used.