Is there any great advantage to using MIDISendSysex vs. MIDISend?
Is there any great advantage to using MIDISendSysex vs. MIDISend?
- Subject: Is there any great advantage to using MIDISendSysex vs. MIDISend?
- From: Stephen Kay <email@hidden>
- Date: Tue, 22 May 2007 02:01:55 -0400
...other than convenience, perhaps?
I'm porting some older OMS/OS9 code to OS X - in the older days, I never had
much luck getting the asynchronous OMS/OS9 MIDI stuff to work well with a
variety of interfaces and drivers. So I ended up handling large dumps
myself, by reading through the buffer and sending it out in little 256k
pieces, and providing a "packet delay" parameter that would insert pauses
between the chunks if necessary. I've got a bunch of infrastucture that keys
off that mechanism, such as progress dialogs and other things.
I tried MIDISendSysex() recently, and it works well, (and I know you can key
progress dialogs off of it, and cancel it as well), but since much of my
code is written to rely on my own handling of the "piece by piece" way, I'm
wondering if there's any real advantage to using the Asynchronous method, or
not?
I could be wrong, but it seems like you have more intimate control when you
do it yourself the "hard way", rather than handing off the whole thing and
watching as it does it however it wants to. But I may be missing something.
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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