mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pw-cat: print "monitor" when recording from a sink
This commit is contained in:
parent
1d03923a97
commit
8415fa525f
1 changed files with 4 additions and 3 deletions
|
|
@ -1906,9 +1906,10 @@ int main(int argc, char *argv[])
|
|||
spa_list_for_each(target, &data.targets, link) {
|
||||
if (target->type != TARGET_TYPE_SINK)
|
||||
continue;
|
||||
printf("%s\t%"PRIu32": sink description=\"%s\" prio=%d\n",
|
||||
target == target_default ? "*" : "",
|
||||
target->id, target->desc, target->prio);
|
||||
printf("%s\t%"PRIu32": %s description=\"%s\" prio=%d\n",
|
||||
target == target_default ? "*" : "",
|
||||
target->id, data.mode == mode_record ? "monitor" : "sink",
|
||||
target->desc, target->prio);
|
||||
}
|
||||
spa_list_for_each(target, &data.targets, link) {
|
||||
if (target->type != TARGET_TYPE_STREAM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue