From 871c3e7656a85abc8691d081a095851d0691f811 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 11 Mar 2003 20:34:28 +0000 Subject: [PATCH] Decoder is now generic MIDI device --- test/seq-decoder.c | 1 + 1 file changed, 1 insertion(+) 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)); -- 2.47.1