|
|
|
@@ -114,7 +114,7 @@ a2j_port_fill_name (struct a2j_port * port_ptr, int dir, snd_seq_client_info_t * |
|
|
|
"[%d] %s %s", |
|
|
|
snd_seq_client_info_get_client (client_info_ptr), |
|
|
|
port_name, |
|
|
|
(dir == A2J_PORT_CAPTURE ? "in" : "out")); |
|
|
|
(dir == A2J_PORT_CAPTURE ? "out" : "in")); |
|
|
|
} else { |
|
|
|
snprintf (port_ptr->name, |
|
|
|
sizeof(port_ptr->name), |
|
|
|
@@ -122,7 +122,7 @@ a2j_port_fill_name (struct a2j_port * port_ptr, int dir, snd_seq_client_info_t * |
|
|
|
client_name, |
|
|
|
snd_seq_client_info_get_client (client_info_ptr), |
|
|
|
port_name, |
|
|
|
(dir == A2J_PORT_CAPTURE ? "in" : "out")); |
|
|
|
(dir == A2J_PORT_CAPTURE ? "out" : "in")); |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (strstr (port_name, client_name) == port_name) { |
|
|
|
@@ -131,14 +131,14 @@ a2j_port_fill_name (struct a2j_port * port_ptr, int dir, snd_seq_client_info_t * |
|
|
|
sizeof(port_ptr->name), |
|
|
|
"%s %s", |
|
|
|
port_name, |
|
|
|
(dir == A2J_PORT_CAPTURE ? "in" : "out")); |
|
|
|
(dir == A2J_PORT_CAPTURE ? "out" : "in")); |
|
|
|
} else { |
|
|
|
snprintf (port_ptr->name, |
|
|
|
sizeof(port_ptr->name), |
|
|
|
"%s %s %s", |
|
|
|
client_name, |
|
|
|
snd_seq_port_info_get_name (port_info_ptr), |
|
|
|
(dir == A2J_PORT_CAPTURE ? "in" : "out")); |
|
|
|
(dir == A2J_PORT_CAPTURE ? "out" : "in")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|