jack: fix version check

This commit is contained in:
Wim Taymans 2024-01-31 10:36:05 +01:00
parent bf87fdbd70
commit 1c9c3e3553

View file

@ -3795,7 +3795,7 @@ jack_client_t * jack_client_open (const char *client_name,
if (getenv("PIPEWIRE_NOJACK") != NULL ||
getenv("PIPEWIRE_INTERNAL") != NULL ||
strstr(pw_get_library_version(), "0.2") != NULL)
spa_strstartswith(pw_get_library_version(), "0.2"))
goto disabled;
return_val_if_fail(client_name != NULL, NULL);