pulse-server: include rate/format for tunnel

This commit is contained in:
Wim Taymans 2023-05-12 10:11:17 +02:00
parent 7eeb9a63f8
commit 7b0c019a2b
2 changed files with 2 additions and 2 deletions

View file

@ -158,7 +158,7 @@ static int module_tunnel_sink_prepare(struct module * const module)
pw_properties_set(props, "sink_properties", NULL); pw_properties_set(props, "sink_properties", NULL);
} }
if (module_args_to_audioinfo_keys(module->impl, props, if (module_args_to_audioinfo_keys(module->impl, props,
NULL, NULL, "channels", "channel_map", &info) < 0) { "format", "rate", "channels", "channel_map", &info) < 0) {
res = -EINVAL; res = -EINVAL;
goto out; goto out;
} }

View file

@ -155,7 +155,7 @@ static int module_tunnel_source_prepare(struct module * const module)
pw_properties_set(props, "source_properties", NULL); pw_properties_set(props, "source_properties", NULL);
} }
if (module_args_to_audioinfo_keys(module->impl, props, if (module_args_to_audioinfo_keys(module->impl, props,
NULL, NULL, "channels", "channel_map", &info) < 0) { "format", "rate", "channels", "channel_map", &info) < 0) {
res = -EINVAL; res = -EINVAL;
goto out; goto out;
} }