Calculating size for MIDIPacketListAdd
Calculating size for MIDIPacketListAdd
- Subject: Calculating size for MIDIPacketListAdd
- From: email@hidden
- Date: Wed, 18 Sep 2002 21:50:49 -0400
I'm trying to add a packet to a MIDIPacketList but the function needs
to know
the length of the packet list to which I'm trying to add.
Why can't the add function figure this out for itself (the calculation
doesn't look easy)?
And if it can't - what is the calculation?
Finally can/should I even be trying to modify the PacketList that came
into my read proc? I know it's const but the examples cast it away :-)
Would it be better to create my own packet list and copy the data into
there? But then
there's no nice dispose function to throw it away...
Thanks for any help - and hey we haven't had enough MIDI questions on
this list :-)
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.