Re: Stuck MIDI notes
Re: Stuck MIDI notes
- Subject: Re: Stuck MIDI notes
- From: Robert Grant <email@hidden>
- Date: Tue, 5 Nov 2002 11:42:54 -0500
On Tuesday, November 5, 2002, at 11:18 AM, Doug Wyatt wrote:
On Thursday, Oct 31, 2002, at 04:34 US/Pacific, Philippe Wicker wrote:
Have a look in XFramework/Model/XMIDIClient.cpp, there is a method
called NextMIDIEvent. This method contains code that allow to walk
through a MIDIPacket event by event. It may not be exactly what you
need (it could be useful to get at return the length of the event),
but it is surely a good starting point.
That one's better :-)
I took this one - seemed a neater fit - and twiddled it to return NULL
when the end
of the packet is reached to make it more like a strtok type function.
Glad to know
it's going to be reliable and glad I didn't have to write one (and then
test one!) myself :-)
Thanks,
Robert.
_______________________________________________
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.