mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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) {
|
spa_list_for_each(target, &data.targets, link) {
|
||||||
if (target->type != TARGET_TYPE_SINK)
|
if (target->type != TARGET_TYPE_SINK)
|
||||||
continue;
|
continue;
|
||||||
printf("%s\t%"PRIu32": sink description=\"%s\" prio=%d\n",
|
printf("%s\t%"PRIu32": %s description=\"%s\" prio=%d\n",
|
||||||
target == target_default ? "*" : "",
|
target == target_default ? "*" : "",
|
||||||
target->id, target->desc, target->prio);
|
target->id, data.mode == mode_record ? "monitor" : "sink",
|
||||||
|
target->desc, target->prio);
|
||||||
}
|
}
|
||||||
spa_list_for_each(target, &data.targets, link) {
|
spa_list_for_each(target, &data.targets, link) {
|
||||||
if (target->type != TARGET_TYPE_STREAM)
|
if (target->type != TARGET_TYPE_STREAM)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue