Fix the formatting of devices with several unnamed subdevices,
and show input/outputness for these, too.
-.TH AMIDI 1 "15 Feb 2005"
+.TH AMIDI 1 "26 Jun 2006"
.SH NAME
amidi \- read from and write to ALSA RawMIDI ports
.I ~/.asoundrc
user specific rawmidi definitions
-.SH BUGS
-The
-.I \-\-list\-devices
-option pretends that output and input ports are the same.
-
.SH SEE ALSO
aplaymidi(1)
.br
in ? 'I' : ' ', out ? 'O' : ' ',
card, device, name);
} else
- printf(" hw:%d,%d %s (%d subdevices)\n",
+ printf("%c%c hw:%d,%d %s (%d subdevices)\n",
+ in ? 'I' : ' ', out ? 'O' : ' ',
card, device, name, subs);
} else {
sub = 0;