|
@@ -98,9 +98,9 @@ static struct pw_properties *(*PIPEWIRE_pw_properties_new_dict)(const struct spa
|
|
|
static int (*PIPEWIRE_pw_properties_set)(struct pw_properties *, const char *, const char *);
|
|
|
static int (*PIPEWIRE_pw_properties_setf)(struct pw_properties *, const char *, const char *, ...) SPA_PRINTF_FUNC(3, 4);
|
|
|
|
|
|
-#ifdef SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC
|
|
|
+#ifdef SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC
|
|
|
|
|
|
-static const char *pipewire_library = SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC;
|
|
|
+static const char *pipewire_library = SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC;
|
|
|
static SDL_SharedObject *pipewire_handle = NULL;
|
|
|
|
|
|
static bool pipewire_dlsym(const char *fn, void **addr)
|
|
@@ -146,7 +146,7 @@ static void unload_pipewire_library(void)
|
|
|
// Nothing to do
|
|
|
}
|
|
|
|
|
|
-#endif // SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC
|
|
|
+#endif // SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC
|
|
|
|
|
|
static bool load_pipewire_syms(void)
|
|
|
{
|