Re: Sending large sysex dump
Re: Sending large sysex dump
- Subject: Re: Sending large sysex dump
- From: Doug Wyatt <email@hidden>
- Date: Sun, 6 Feb 2005 14:31:37 -0800
On Feb 6, 2005, at 8:00, Peter Karlsson wrote:
Dear list!
I have some problems sending a large sysex dump to my synth.
First I send the header, F0, 0F, 02, 00, 02
Then I send the content of a memory area, the pointer to that area is
defined like this:
Byte *out_ptr;
And the code to send the memory area (code fragment)
packetPtr = MIDIPacketListAdd(&pktlist, sizeof pktlist, packetPtr, 0,
number, out_ptr);
MIDISend(gOutPort, gDest, &pktlist);
// This is 8160 bytes
Then I send F7
But the only thing that seems to be sent is the header and the F7,
why is
my memory area not sent?
MIDIPacketListAdd probably failed, possibly because your memory area
isn't big enough? If it returned NULL, it failed.
Doug
_______________________________________________
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