Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ev->type not set for encoded sysex
@ 2002-05-10 10:57 Clemens Ladisch
  0 siblings, 0 replies; only message in thread
From: Clemens Ladisch @ 2002-05-10 10:57 UTC (permalink / raw)
  To: alsa-devel


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
diff -u -r1.14 seq_midi_event.c
--- seq_midi_event.c    19 Apr 2002 17:34:57 -0000      1.14
+++ seq_midi_event.c    10 May 2002 10:26:14 -0000
@@ -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: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-10 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 10:57 [PATCH] ev->type not set for encoded sysex Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox