Skip to contentSkip to conversation

ev->type not set for encoded sysex

PATCH New Clemens Ladisch 1 participant 1 message May 10, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ev->type not set for encoded sysex

The equivalent change to the kernel implementation (rev. 1.22 in the old alsa-driver) never got applied to alsa-lib.

Index: seq_midi_event.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/seq/seq_midi_event.c,v retrieving revision 1.14

seq_midi_event.c 10 May 2002 10:26:14 -0000 renamed from seq_midi_event.c 19 Apr 2002 17:34:57 -0000 1.14 +1 -0
diff -u -r1.14 seq_midi_event.c
@@ -337,6 +337,7 @@
                    dev->read >= dev->bufsize) {
                        ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK;
                        ev->flags |= SNDRV_SEQ_EVENT_LENGTH_VARIABLE;
+                       ev->type = SND_SEQ_EVENT_SYSEX;
                        ev->data.ext.len = dev->read;
                        ev->data.ext.ptr = dev->buf;
                        if (c != MIDI_CMD_COMMON_SYSEX_END)

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]