diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c index a005f76f4..d57914777 100644 --- a/src/modules/module-loopback.c +++ b/src/modules/module-loopback.c @@ -99,7 +99,8 @@ * playback.props = { * node.name = "playback.CM106_stereo_pair_2" * audio.position = [ RL RR ] - * node.target = "alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-71" + * target.object = "alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-71" + * node.dont-reconnect = true * stream.dont-remix = true * node.passive = true * } diff --git a/src/modules/module-pipe-tunnel.c b/src/modules/module-pipe-tunnel.c index 760b76f7d..ff4a25968 100644 --- a/src/modules/module-pipe-tunnel.c +++ b/src/modules/module-pipe-tunnel.c @@ -94,7 +94,7 @@ * - \ref PW_KEY_NODE_GROUP * - \ref PW_KEY_NODE_VIRTUAL * - \ref PW_KEY_MEDIA_CLASS - * - \ref PW_KEY_NODE_TARGET to specify the remote name or id to link to + * - \ref PW_KEY_TARGET_OBJECT to specify the remote name or serial id to link to * * When not otherwise specified, the pipe will accept or produce a * 16 bits, stereo, 48KHz sample stream. @@ -112,7 +112,7 @@ * #audio.rate= * #audio.channels= * #audio.position= - * #node.target= + * #target.object= * stream.props = { * # extra sink properties * } @@ -139,7 +139,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME); "[ node.latency= ] " \ "[ node.name= ] " \ "[ node.description= ] " \ - "[ node.target= ] " \ + "[ target.object= ] " \ "[ audio.format= ] " \ "[ audio.rate= ] " \ "[ audio.channels= ] " \ diff --git a/src/modules/module-pulse-tunnel.c b/src/modules/module-pulse-tunnel.c index 89ebc8e99..c463350c7 100644 --- a/src/modules/module-pulse-tunnel.c +++ b/src/modules/module-pulse-tunnel.c @@ -90,7 +90,7 @@ * - \ref PW_KEY_NODE_GROUP * - \ref PW_KEY_NODE_VIRTUAL * - \ref PW_KEY_MEDIA_CLASS - * - \ref PW_KEY_NODE_TARGET to specify the remote name or id to link to + * - \ref PW_KEY_TARGET_OBJECT to specify the remote node.name or serial.id to link to * * ## Example configuration of a virtual sink * @@ -104,7 +104,7 @@ * #audio.rate= * #audio.channels= * #audio.position= - * #node.target= + * #target.object= * stream.props = { * # extra sink properties * } @@ -660,7 +660,9 @@ static int create_pulse_stream(struct impl *impl) pa_stream_set_overflow_callback(impl->pa_stream, stream_overflow_cb, impl); pa_stream_set_latency_update_callback(impl->pa_stream, stream_latency_update_cb, impl); - remote_node_target = pw_properties_get(impl->props, PW_KEY_NODE_TARGET); + remote_node_target = pw_properties_get(impl->props, PW_KEY_TARGET_OBJECT); + if (remote_node_target == NULL) + remote_node_target = pw_properties_get(impl->props, PW_KEY_NODE_TARGET); bufferattr.fragsize = (uint32_t) -1; bufferattr.minreq = (uint32_t) -1;