mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa-seq: tweak port names some more
Remove the client id, it can change and is otherwise not generally useful. Move the direction with the port. Fixes #1007
This commit is contained in:
parent
e3f344b3fa
commit
9562cd56a2
1 changed files with 1 additions and 2 deletions
|
|
@ -254,9 +254,8 @@ static void emit_port_info(struct seq_state *this, struct seq_port *port, bool f
|
|||
snd_seq_get_any_client_info(this->sys.hndl,
|
||||
port->addr.client, client_info);
|
||||
|
||||
snprintf(name, sizeof(name), "%s [%d] (%s): [%d] %s",
|
||||
snprintf(name, sizeof(name), "%s:(%s_%d) %s",
|
||||
snd_seq_client_info_get_name(client_info),
|
||||
port->addr.client,
|
||||
port->direction == SPA_DIRECTION_OUTPUT ? "capture" : "playback",
|
||||
port->addr.port,
|
||||
snd_seq_port_info_get_name(info));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue