audio, pipewire: fix signatures of pw_get_library_version and pw_init.

Reference issue: https://github.com/libsdl-org/SDL/issues/5938
This commit is contained in:
Ozkan Sezer 2022-07-20 07:01:10 +03:00
parent 6e210d3797
commit b700a32630
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ enum PW_READY_FLAGS
static SDL_bool pipewire_initialized = SDL_FALSE; static SDL_bool pipewire_initialized = SDL_FALSE;
/* Pipewire entry points */ /* Pipewire entry points */
static char *(*PIPEWIRE_pw_get_library_version)(void); static const char *(*PIPEWIRE_pw_get_library_version)(void);
static void (*PIPEWIRE_pw_init)(int *, char **); static void (*PIPEWIRE_pw_init)(int *, char ***);
static void (*PIPEWIRE_pw_deinit)(void); static void (*PIPEWIRE_pw_deinit)(void);
static struct pw_thread_loop *(*PIPEWIRE_pw_thread_loop_new)(const char *, const struct spa_dict *); static struct pw_thread_loop *(*PIPEWIRE_pw_thread_loop_new)(const char *, const struct spa_dict *);
static void (*PIPEWIRE_pw_thread_loop_destroy)(struct pw_thread_loop *); static void (*PIPEWIRE_pw_thread_loop_destroy)(struct pw_thread_loop *);