mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
pulse-server: handle pulse.properties
Load properties from pulse.properties section so that they can have overrides.
This commit is contained in:
parent
6c4d3a5158
commit
5a55e1a47a
2 changed files with 33 additions and 26 deletions
|
|
@ -5350,6 +5350,8 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
|
|||
support = pw_context_get_support(context, &n_support);
|
||||
cpu = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_CPU);
|
||||
|
||||
pw_context_conf_update_props(context, "pulse.properties", props);
|
||||
|
||||
if ((str = pw_properties_get(props, "vm.overrides")) != NULL) {
|
||||
if (cpu != NULL && spa_cpu_get_vm_type(cpu) != SPA_CPU_VM_NONE)
|
||||
pw_properties_update_string(props, str, strlen(str));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue