• 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
Calculating size for MIDIPacketListAdd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Calculating size for MIDIPacketListAdd
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: Playing 2 or more audio data simultaneously
  • Next by Date: Re: Newbie AU questions (AU types and subtypes)
  • Previous by thread: Re: Playing 2 or more audio data simultaneously
  • Next by thread: Re: Calculating size for MIDIPacketListAdd
  • Index(es):
    • Date
    • Thread