Re: [Melys-devel] Using external MIDI port
Status: Alpha
Brought to you by:
steve
|
From: Steve R. <st...@pa...> - 2000-04-03 23:41:55
|
> [SB Live! not recording, but probably applies to all cards]
OK I have now found the problem. Apply the patch below to alsa-driver.
This probably is a bug with all cards, not just the Live!
..Steve
Index: kernel/seq/seq_midi_event.c
===================================================================
RCS file: /usr/src/CVS/alsa-driver/kernel/seq/seq_midi_event.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 seq_midi_event.c
--- kernel/seq/seq_midi_event.c 2000/04/02 19:16:39 1.1.1.8
+++ kernel/seq/seq_midi_event.c 2000/04/03 23:12:53
@@ -221,8 +221,7 @@
int rc = 0;
unsigned long flags;
- if (c < 0 || c > 0xff)
- return -EINVAL;
+ c &= 0xff;
if (c >= SND_MCMD_COMMON_CLOCK) {
/* real-time event */
|