mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
tools: clarify the target param
The target param is an object.serial or node.name. Use TARGET_OBJECT instead of NODE_TARGET.
This commit is contained in:
parent
8767e8ed97
commit
1beddd78d2
2 changed files with 5 additions and 5 deletions
|
|
@ -95,9 +95,9 @@ static void show_help(struct data *data, const char *name, bool error)
|
|||
" -m, --channel-map Channel map (default '%s')\n"
|
||||
" -l, --latency Desired latency in ms\n"
|
||||
" -d, --delay Desired delay in float s\n"
|
||||
" -C --capture Capture source to connect to\n"
|
||||
" -C --capture Capture source to connect to (name or serial)\n"
|
||||
" --capture-props Capture stream properties\n"
|
||||
" -P --playback Playback sink to connect to\n"
|
||||
" -P --playback Playback sink to connect to (name or serial)\n"
|
||||
" --playback-props Playback stream properties\n",
|
||||
name,
|
||||
data->opt_node_name,
|
||||
|
|
@ -184,10 +184,10 @@ int main(int argc, char *argv[])
|
|||
data.delay = atof(optarg);
|
||||
break;
|
||||
case 'C':
|
||||
pw_properties_set(data.capture_props, PW_KEY_NODE_TARGET, optarg);
|
||||
pw_properties_set(data.capture_props, PW_KEY_TARGET_OBJECT, optarg);
|
||||
break;
|
||||
case 'P':
|
||||
pw_properties_set(data.playback_props, PW_KEY_NODE_TARGET, optarg);
|
||||
pw_properties_set(data.playback_props, PW_KEY_TARGET_OBJECT, optarg);
|
||||
break;
|
||||
case 'i':
|
||||
pw_properties_update_string(data.capture_props, optarg, strlen(optarg));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue