mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
make static inline -> SPA_API_IMPL
So that we can export the symbols as well.
This commit is contained in:
parent
84bd4b7ea9
commit
90b0e45037
91 changed files with 563 additions and 552 deletions
|
|
@ -68,7 +68,7 @@ struct spa_audio_aec_methods {
|
|||
struct spa_audio_info_raw *out_info);
|
||||
};
|
||||
|
||||
static inline int spa_audio_aec_add_listener(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_add_listener(struct spa_audio_aec *object,
|
||||
struct spa_hook *listener,
|
||||
const struct spa_audio_aec_events *events,
|
||||
void *data)
|
||||
|
|
@ -77,52 +77,52 @@ static inline int spa_audio_aec_add_listener(struct spa_audio_aec *object,
|
|||
spa_audio_aec, &object->iface, add_listener, 0, listener, events, data);
|
||||
}
|
||||
|
||||
static inline int spa_audio_aec_init(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_init(struct spa_audio_aec *object,
|
||||
const struct spa_dict *args, const struct spa_audio_info_raw *info)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, init, 0, args, info);
|
||||
}
|
||||
static inline int spa_audio_aec_run(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_run(struct spa_audio_aec *object,
|
||||
const float *rec[], const float *play[], float *out[], uint32_t n_samples)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, run, 0, rec, play, out, n_samples);
|
||||
}
|
||||
static inline int spa_audio_aec_set_props(struct spa_audio_aec *object, const struct spa_dict *args)
|
||||
SPA_API_IMPL int spa_audio_aec_set_props(struct spa_audio_aec *object, const struct spa_dict *args)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, set_props, 0, args);
|
||||
}
|
||||
static inline int spa_audio_aec_activate(struct spa_audio_aec *object)
|
||||
SPA_API_IMPL int spa_audio_aec_activate(struct spa_audio_aec *object)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, activate, 1);
|
||||
}
|
||||
static inline int spa_audio_aec_deactivate(struct spa_audio_aec *object)
|
||||
SPA_API_IMPL int spa_audio_aec_deactivate(struct spa_audio_aec *object)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, deactivate, 1);
|
||||
}
|
||||
static inline int spa_audio_aec_enum_props(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_enum_props(struct spa_audio_aec *object,
|
||||
int index, struct spa_pod_builder* builder)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, enum_props, 2, index, builder);
|
||||
}
|
||||
static inline int spa_audio_aec_get_params(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_get_params(struct spa_audio_aec *object,
|
||||
struct spa_pod_builder* builder)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, get_params, 2, builder);
|
||||
}
|
||||
static inline int spa_audio_aec_set_params(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_set_params(struct spa_audio_aec *object,
|
||||
const struct spa_pod *args)
|
||||
{
|
||||
return spa_api_method_r(int, -ENOTSUP,
|
||||
spa_audio_aec, &object->iface, set_params, 2, args);
|
||||
}
|
||||
static inline int spa_audio_aec_init2(struct spa_audio_aec *object,
|
||||
SPA_API_IMPL int spa_audio_aec_init2(struct spa_audio_aec *object,
|
||||
const struct spa_dict *args,
|
||||
struct spa_audio_info_raw *play_info,
|
||||
struct spa_audio_info_raw *rec_info,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue