Hi,
I'm trying to use CoreAudio's MIDIPacketListAdd by doing this :
MIDIPacketListAdd(packetList, PACKETLIST_SIZE, currentPacket, mach_absolute_time, len, data);
I was thinking of calling the method multiple times before sending it out, so that my packetList will have > 1 packet in it.
However when I do so the numPackets never increases, and what I am getting is packetList->packet[0] with the an ever increasing packet[0].data.
1) What's the correct way to use this method? I've looked at several examples, including the one from "Learning Core Audio" - they all seem to be sending just one packet.
2) Is there any performance improvement if I pack multiple packets in 1 packet list over sending 1 packet list with 1 packet multiple times?
Thanks, appreciate any help regarding this.
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden