5 Jun
2008
5 Jun
'08
1:25 p.m.
Thorsten Edelhäußer wrote:
I'm writing a driver for the MARIAN MARC 8 Midi soundcard. Today I tested some MIDI functionality and get some errors from hydrogen ("unhandled midi message type"). I did some research and got to the point, that the MIDI alive message (0xfe) should not arrive at the application.
The Active Sensing message is a valid MIDI message. This seems to be a bug in hydrogen.
So my question is: Do I have to process the midi messages by myself before I give it to the alsa "snd_rawmidi_receive" function? Or is there already some code, which will do it?
The ALSA framework handles this automatically; your driver is not required to interpret the MIDI data stream.
Regards, Clemens