Re: Stuck MIDI notes
Re: Stuck MIDI notes
- Subject: Re: Stuck MIDI notes
- From: Kurt Revis <email@hidden>
- Date: Thu, 31 Oct 2002 18:10:44 -0800
On Thursday, October 31, 2002, at 03:42 PM, Herbie Robinson wrote:
(Unless CoreMIDI rewrites MIDI data to move realtime messages out of
other messages... but that's pretty unlikely. I sure don't think it
did when I wrote my parser more than a year ago.)
Providers of messages (drivers, etc) are required to create packets
with no intermingling.
Is this documented someplace? I haven't seen this requirement before.
The comment for MIDIPacket in MIDIServices.h says "the MIDI messages in
the packet must always be complete, except for system-exclusive", but
that doesn't rule out one-byte realtime messages in the middle of other
messages. To me "complete" means "all the bytes are present".
I agree that this should be an unlikely case, but I'd rather be robust
when dealing with other people's code, which may not pay attention to
details like this.
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.