mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pw-cat: add channel-map option and option to delay connect
If the target node is set to 0, remove the autoconnect flag. This makes the session manager disable stream autoconnect and some other program needs to connect the stream to a sink or node. Use the channelmap from the file, if available. Add option to specify/override the channel map for playback.
This commit is contained in:
parent
272fd4bd9f
commit
1cce9a69c8
2 changed files with 171 additions and 11 deletions
|
|
@ -180,7 +180,8 @@ static int setup_convert(struct impl *this)
|
|||
continue;
|
||||
this->remap[i] = j;
|
||||
outformat.info.raw.position[j] = -1;
|
||||
spa_log_debug(this->log, NAME " %p: channel %d -> %d", this, i, j);
|
||||
spa_log_debug(this->log, NAME " %p: channel %d -> %d (%d)", this,
|
||||
i, j, informat.info.raw.position[i]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue