Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: Sending large sysex dump



The memory area is 100000 bytes, and my dump only 8160 bytes.

It seems to be some kind of limit here. I can send 262 bytes with MIDISend,
if I try to send more then that nothing will be sent. Can someone please
tell me why?

Peter

Ursprungligt meddelande

> 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:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.