Re: MIDIPacketList info
Re: MIDIPacketList info
- Subject: Re: MIDIPacketList info
- From: Doug Wyatt <email@hidden>
- Date: Thu, 9 Oct 2003 15:58:43 -0700
On Oct 9, 2003, at 1:58 PM, Gary Scavone wrote:
Is there more documentation about MIDIPacketLists than that contained
in the CoreAudio PDF document from May 2001?
The comments in the header ... and in this list's archives ...
In particular, when you initialize a MIDIPacketList with an existing
buffer, does new memory get allocated for the list?
No.
If not, does that
buffer "define" the maximum size of all MIDIPackets in the list?
Yes, you can't make the list larger than the buffer.
And
what happens if the buffer is a local variable, a packet with a future
time stamp is sent, and the local variable is deleted when the
function call returns (for example, if I wrote a sendMessage()
function which creates a PacketList, fills it with a future
time-stamped Packet, and returns)?
Not a problem, the packetlist gets copied.
Doug
_______________________________________________
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.