mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 14:05:39 +00:00
pipewire: Remove deprecated configuration key
With Pipewire now requiring a minimum version 0.3.24, the PW_KEY_CONTEXT_PROFILE_MODULES value is no longer required for legacy compatability and can be safely removed.
This commit is contained in:
parent
4fa2653394
commit
60da11f0e2
|
@ -1192,17 +1192,8 @@ PIPEWIRE_OpenDevice(_THIS, const char *devname)
|
|||
return SDL_SetError("Pipewire: Failed to create stream loop (%i)", errno);
|
||||
}
|
||||
|
||||
/*
|
||||
* Load the realtime module so Pipewire can set the loop thread to the appropriate priority.
|
||||
*
|
||||
* NOTE: Pipewire versions 0.3.22 or higher require the PW_KEY_CONFIG_NAME property (with client-rt.conf),
|
||||
* lower versions require explicitly specifying the 'rtkit' module.
|
||||
*
|
||||
* PW_KEY_CONTEXT_PROFILE_MODULES is deprecated and can be safely removed if the minimum required
|
||||
* Pipewire version is increased to 0.3.22 or higher at some point.
|
||||
*/
|
||||
props = PIPEWIRE_pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf",
|
||||
PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit", NULL);
|
||||
/* Load the realtime module so Pipewire can set the loop thread to the appropriate priority. */
|
||||
props = PIPEWIRE_pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL);
|
||||
if (props == NULL) {
|
||||
return SDL_SetError("Pipewire: Failed to create stream context properties (%i)", errno);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue