• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MIDIPacketList info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: MIDIPacketList info
      • From: Bill Dozier <email@hidden>
References: 
 >MIDIPacketList info (From: Gary Scavone <email@hidden>)

  • Prev by Date: Port Name in 10.2.7 and beyond
  • Next by Date: Re: Port Name in 10.2.7 and beyond
  • Previous by thread: MIDIPacketList info
  • Next by thread: Re: MIDIPacketList info
  • Index(es):
    • Date
    • Thread