mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse: add SPA_EXPORT
This commit is contained in:
parent
6cd1104d0c
commit
5f9200d9ee
28 changed files with 397 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ static GSourceFuncs source_funcs =
|
|||
NULL,
|
||||
};
|
||||
|
||||
SPA_EXPORT
|
||||
pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c)
|
||||
{
|
||||
|
||||
|
|
@ -102,6 +103,7 @@ pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c)
|
|||
|
||||
}
|
||||
|
||||
SPA_EXPORT
|
||||
void pa_glib_mainloop_free(pa_glib_mainloop* g)
|
||||
{
|
||||
g_source_destroy(&g->source->base);
|
||||
|
|
@ -109,6 +111,7 @@ void pa_glib_mainloop_free(pa_glib_mainloop* g)
|
|||
free(g);
|
||||
}
|
||||
|
||||
SPA_EXPORT
|
||||
pa_mainloop_api* pa_glib_mainloop_get_api(pa_glib_mainloop *g)
|
||||
{
|
||||
return pa_mainloop_get_api(g->loop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue