mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add mainloop test utility
fix glib mainloop support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@106 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
964bdfd1e8
commit
68eb5dd248
8 changed files with 221 additions and 77 deletions
|
|
@ -5,10 +5,19 @@
|
|||
|
||||
#include "mainloop-api.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pa_glib_mainloop;
|
||||
|
||||
struct pa_glib_mainloop *pa_glib_mainloop_new(GMainLoop *ml);
|
||||
struct pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c);
|
||||
void pa_glib_mainloop_free(struct pa_glib_mainloop* g);
|
||||
struct pa_mainloop_api* pa_glib_mainloop_get_api(struct pa_glib_mainloop *g);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue