On Thu, 5 Dec 2002, ian wrote: > Hi, > I've been using the midi byte stream encoder/decoder to convert > snd_seq_event_t's to and from midi byte streams. I discovered that the > decoder is not handling sysex events properly - a valid sysex event gets > decoded to junk. Looking at lines 440 onwards of seq_midi_event.c (in the > rc6 library source), the code is writing the event to dev->buf, the > decoder buffer, and doesn't touch buf, the argument to the decode > function, which is where the user is supposed to get the returned byte > stream from. > I'm assuming that the code should be copying to buf, not dev->buf?
Yep, obvious type. Fixed. Thank you. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel