mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: add SPA_EXPORT
This commit is contained in:
parent
6cd1104d0c
commit
5f9200d9ee
28 changed files with 397 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ int pa_operation_sync(pa_operation *o)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SPA_EXPORT
|
||||
pa_operation *pa_operation_ref(pa_operation *o)
|
||||
{
|
||||
pa_assert(o);
|
||||
|
|
@ -96,6 +97,7 @@ static void operation_unlink(pa_operation *o) {
|
|||
}
|
||||
|
||||
|
||||
SPA_EXPORT
|
||||
void pa_operation_unref(pa_operation *o)
|
||||
{
|
||||
pa_assert(o);
|
||||
|
|
@ -126,6 +128,7 @@ static void operation_set_state(pa_operation *o, pa_operation_state_t st) {
|
|||
}
|
||||
|
||||
|
||||
SPA_EXPORT
|
||||
void pa_operation_cancel(pa_operation *o)
|
||||
{
|
||||
pa_assert(o);
|
||||
|
|
@ -141,6 +144,7 @@ void pa_operation_done(pa_operation *o) {
|
|||
}
|
||||
|
||||
|
||||
SPA_EXPORT
|
||||
pa_operation_state_t pa_operation_get_state(pa_operation *o)
|
||||
{
|
||||
pa_assert(o);
|
||||
|
|
@ -148,6 +152,7 @@ pa_operation_state_t pa_operation_get_state(pa_operation *o)
|
|||
return o->state;
|
||||
}
|
||||
|
||||
SPA_EXPORT
|
||||
void pa_operation_set_state_callback(pa_operation *o, pa_operation_notify_cb_t cb, void *userdata)
|
||||
{
|
||||
pa_assert(o);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue