diff --git a/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c b/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c index 91612f0cf..2382b6da8 100644 --- a/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c @@ -203,7 +203,7 @@ struct module *create_module_ladspa_sink(struct impl *impl, const char *argument module_args_add_props(props, argument); if ((str = pw_properties_get(props, "sink_name")) != NULL) { - pw_properties_set(props, PW_KEY_NODE_NAME, str); + pw_properties_set(capture_props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); } if ((str = pw_properties_get(props, "sink_properties")) != NULL) { diff --git a/src/modules/module-protocol-pulse/modules/module-ladspa-source.c b/src/modules/module-protocol-pulse/modules/module-ladspa-source.c index 3e388df94..dd49f80aa 100644 --- a/src/modules/module-protocol-pulse/modules/module-ladspa-source.c +++ b/src/modules/module-protocol-pulse/modules/module-ladspa-source.c @@ -203,8 +203,7 @@ struct module *create_module_ladspa_source(struct impl *impl, const char *argume module_args_add_props(props, argument); if ((str = pw_properties_get(props, "source_name")) != NULL) { - pw_properties_set(props, PW_KEY_NODE_NAME, str); - pw_properties_set(props, PW_KEY_NODE_DESCRIPTION, str); + pw_properties_set(capture_props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "source_name", NULL); } if ((str = pw_properties_get(props, "source_properties")) != NULL) { diff --git a/src/modules/module-protocol-pulse/modules/module-remap-sink.c b/src/modules/module-protocol-pulse/modules/module-remap-sink.c index 1dbf054ce..f3abb9c9d 100644 --- a/src/modules/module-protocol-pulse/modules/module-remap-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-remap-sink.c @@ -169,7 +169,7 @@ struct module *create_module_remap_sink(struct impl *impl, const char *argument) module_args_add_props(props, argument); if ((str = pw_properties_get(props, "sink_name")) != NULL) { - pw_properties_set(props, PW_KEY_NODE_NAME, str); + pw_properties_set(capture_props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); } if ((str = pw_properties_get(props, "sink_properties")) != NULL) { diff --git a/src/modules/module-protocol-pulse/modules/module-remap-source.c b/src/modules/module-protocol-pulse/modules/module-remap-source.c index 8b7a5b1a3..4abca8a6c 100644 --- a/src/modules/module-protocol-pulse/modules/module-remap-source.c +++ b/src/modules/module-protocol-pulse/modules/module-remap-source.c @@ -169,7 +169,7 @@ struct module *create_module_remap_source(struct impl *impl, const char *argumen module_args_add_props(props, argument); if ((str = pw_properties_get(props, "source_name")) != NULL) { - pw_properties_set(props, PW_KEY_NODE_NAME, str); + pw_properties_set(playback_props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "source_name", NULL); } if ((str = pw_properties_get(props, "source_properties")) != NULL) {