summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2003-03-11 20:34:28 +0000
committerJaroslav Kysela <perex@perex.cz>2003-03-11 20:34:28 +0000
commit871c3e7656a85abc8691d081a095851d0691f811 (patch)
tree21c6dc6df5cfe056fab1458279a4e08702ca3173
parentfea03e9eba3c39ac0945305bae5504d7b15302c6 (diff)
Decoder is now generic MIDI device
-rw-r--r--test/seq-decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/seq-decoder.c b/test/seq-decoder.c
index 85d6bc7c..c43c7347 100644
--- a/test/seq-decoder.c
+++ b/test/seq-decoder.c
@@ -275,6 +275,7 @@ void event_decoder(snd_seq_t *handle, int argc, char *argv[])
fprintf(stderr, "Cannot set nonblock mode: %s\n", snd_strerror(err));
snd_seq_port_info_alloca(&pinfo);
snd_seq_port_info_set_name(pinfo, "Input");
+ snd_seq_port_info_set_type(pinfo, SND_SEQ_PORT_TYPE_MIDI_GENERIC);
snd_seq_port_info_set_capability(pinfo, SND_SEQ_PORT_CAP_WRITE | SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_WRITE);
if ((err = snd_seq_create_port(handle, pinfo)) < 0) {
fprintf(stderr, "Cannot create input port: %s\n", snd_strerror(err));