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 56607d6c5..25454cf37 100644 --- a/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-ladspa-sink.c @@ -193,8 +193,6 @@ struct module *create_module_ladspa_sink(struct impl *impl, const char *argument if ((str = pw_properties_get(props, "sink_name")) != NULL) { pw_properties_set(props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); - } else { - pw_properties_set(props, PW_KEY_NODE_NAME, "null"); } if ((str = pw_properties_get(props, "sink_properties")) != NULL) { module_args_add_props(capture_props, str); 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 cd833eced..2112ea2cc 100644 --- a/src/modules/module-protocol-pulse/modules/module-ladspa-source.c +++ b/src/modules/module-protocol-pulse/modules/module-ladspa-source.c @@ -193,8 +193,6 @@ struct module *create_module_ladspa_source(struct impl *impl, const char *argume if ((str = pw_properties_get(props, "source_name")) != NULL) { pw_properties_set(props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "source_name", NULL); - } else { - pw_properties_set(props, PW_KEY_NODE_NAME, "null"); } if ((str = pw_properties_get(props, "source_properties")) != NULL) { module_args_add_props(capture_props, str); diff --git a/src/modules/module-protocol-pulse/modules/module-null-sink.c b/src/modules/module-protocol-pulse/modules/module-null-sink.c index 574314061..b979fc4f5 100644 --- a/src/modules/module-protocol-pulse/modules/module-null-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-null-sink.c @@ -143,8 +143,6 @@ struct module *create_module_null_sink(struct impl *impl, const char *argument) if ((str = pw_properties_get(props, "sink_name")) != NULL) { pw_properties_set(props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); - } else { - pw_properties_set(props, PW_KEY_NODE_NAME, "null"); } if ((str = pw_properties_get(props, "sink_properties")) != NULL) { module_args_add_props(props, str); diff --git a/src/modules/module-protocol-pulse/modules/module-pipe-sink.c b/src/modules/module-protocol-pulse/modules/module-pipe-sink.c index 01174af74..48f73fa0c 100644 --- a/src/modules/module-protocol-pulse/modules/module-pipe-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-pipe-sink.c @@ -37,7 +37,6 @@ #include "registry.h" #define DEFAULT_FILE_NAME "/tmp/music.output" -#define DEFAULT_SINK_NAME "fifo_output" struct module_pipesink_data { struct module *module; @@ -260,9 +259,6 @@ struct module *create_module_pipe_sink(struct impl *impl, const char *argument) if ((str = pw_properties_get(props, "sink_name")) != NULL) { pw_properties_set(capture_props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); - } else { - pw_properties_set(capture_props, PW_KEY_NODE_NAME, DEFAULT_SINK_NAME); - pw_properties_set(props, "sink_name", NULL); } if ((str = pw_properties_get(props, "file")) != 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 045bb11ba..d22ca2112 100644 --- a/src/modules/module-protocol-pulse/modules/module-remap-sink.c +++ b/src/modules/module-protocol-pulse/modules/module-remap-sink.c @@ -172,8 +172,6 @@ struct module *create_module_remap_sink(struct impl *impl, const char *argument) if ((str = pw_properties_get(props, "sink_name")) != NULL) { pw_properties_set(props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "sink_name", NULL); - } else { - pw_properties_set(props, PW_KEY_NODE_NAME, "null"); } if ((str = pw_properties_get(props, "sink_properties")) != NULL) { module_args_add_props(capture_props, str); 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 7d820c93d..4468e5276 100644 --- a/src/modules/module-protocol-pulse/modules/module-remap-source.c +++ b/src/modules/module-protocol-pulse/modules/module-remap-source.c @@ -172,8 +172,6 @@ struct module *create_module_remap_source(struct impl *impl, const char *argumen if ((str = pw_properties_get(props, "source_name")) != NULL) { pw_properties_set(props, PW_KEY_NODE_NAME, str); pw_properties_set(props, "source_name", NULL); - } else { - pw_properties_set(props, PW_KEY_NODE_NAME, "null"); } if ((str = pw_properties_get(props, "source_properties")) != NULL) { module_args_add_props(playback_props, str);