add SPA_EXPORT where needed

This commit is contained in:
Wim Taymans 2019-02-06 11:59:05 +01:00
parent 3424c05298
commit f6391be214
48 changed files with 275 additions and 8 deletions

View file

@ -25,6 +25,7 @@ extern const struct spa_handle_factory spa_alsa_source_factory;
extern const struct spa_handle_factory spa_alsa_sink_factory;
extern const struct spa_handle_factory spa_alsa_monitor_factory;
SPA_EXPORT
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);

View file

@ -23,7 +23,7 @@
extern const struct spa_handle_factory spa_audiomixer_factory;
int
SPA_EXPORT int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);

View file

@ -23,6 +23,7 @@
extern const struct spa_handle_factory spa_audiotestsrc_factory;
SPA_EXPORT
int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{

View file

@ -24,7 +24,7 @@
extern const struct spa_handle_factory spa_bluez5_monitor_factory;
int
SPA_EXPORT int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);

View file

@ -76,7 +76,7 @@ ffmpeg_enum_interface_info(const struct spa_handle_factory *factory,
return 1;
}
SPA_EXPORT
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
static const AVCodec *c = NULL;

View file

@ -431,6 +431,7 @@ static const struct spa_handle_factory dbus_factory = {
impl_enum_interface_info,
};
SPA_EXPORT
int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{

View file

@ -24,7 +24,7 @@
extern const struct spa_handle_factory spa_fakesrc_factory;
extern const struct spa_handle_factory spa_fakesink_factory;
int
SPA_EXPORT int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);

View file

@ -24,7 +24,7 @@
extern const struct spa_handle_factory spa_v4l2_source_factory;
extern const struct spa_handle_factory spa_v4l2_monitor_factory;
int
SPA_EXPORT int
spa_handle_factory_enum(const struct spa_handle_factory **factory,
uint32_t *index)
{

View file

@ -23,7 +23,7 @@
extern const struct spa_handle_factory spa_videotestsrc_factory;
int
SPA_EXPORT int
spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);

View file

@ -23,6 +23,7 @@
extern const struct spa_handle_factory spa_volume_factory;
SPA_EXPORT
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
{
spa_return_val_if_fail(factory != NULL, -EINVAL);