Browse Source

- Swap alsa_midi slave driver port-name suffixes (out for capture, in for playback).

pull/36/head
rncbc 10 years ago
parent
commit
b33cd9ab0c
4 changed files with 7 additions and 7 deletions
  1. +4
    -4
      drivers/alsa_midi/port.c
  2. +1
    -1
      example-clients
  3. +1
    -1
      jack
  4. +1
    -1
      tools

+ 4
- 4
drivers/alsa_midi/port.c View File

@@ -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"));
}
}



+ 1
- 1
example-clients

@@ -1 +1 @@
Subproject commit e74323c535876abca9a2293bd2ca426a3b91ff8b
Subproject commit 7fa089095c81e81dacd2554ae3184acc7f2d58ed

+ 1
- 1
jack

@@ -1 +1 @@
Subproject commit a2536c8b348bbfb21ec53db901e7992d7ffef474
Subproject commit 07f1ecf1ce119d861ec631cb4a6a81a1ab1e5657

+ 1
- 1
tools

@@ -1 +1 @@
Subproject commit 8e140b72de0231d129c6006db969f1dba4f1486b
Subproject commit 02ddc6ea2f16e41326c675b1bcfcd6335390b88e

Loading…
Cancel
Save