use TARGET_OBJECT instead of the deprecated NODE_TARGET

Clarify the docs.
This commit is contained in:
Wim Taymans 2023-01-10 16:51:47 +01:00
parent a7df07c449
commit 2254c74fb9
6 changed files with 14 additions and 15 deletions

View file

@ -129,7 +129,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
"[ node.latency=<latency as fraction> ] " \
"[ node.name=<name of the nodes> ] " \
"[ node.description=<description of the nodes> ] " \
"[ node.target=<remote node target name> ] " \
"[ node.target=<remote node target name or serial> ] " \
"[ audio.format=<sample format> ] " \
"[ audio.rate=<sample rate> ] " \
"[ audio.channels=<number of channels> ] " \
@ -708,8 +708,6 @@ static int create_pulse_stream(struct impl *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_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;