Re: SysEx Progress
Re: SysEx Progress
- Subject: Re: SysEx Progress
- From: Shaun Wexler <email@hidden>
- Date: Tue, 28 Sep 2004 00:17:44 -0700
On Sep 28, 2004, at 12:07 AM, Peter Krajcik wrote:
Hello,
this question has probably been answered before, but search on
apple-dev doesn't work ...
1. What is the recommended method to monitor progress of
MIDISendSysex() ?
I have to send large amount of SysEx data (10k+) and need to show
progress bar.
My idea was to send my data in junks (let's say 512 bytes) and after
each call to CompletionProcedure set pointer to start of data
accordingly
and increase my progress bar after each call to CompletionProcedure.
Opposite. Install a timer on the main thread to poll the % completion
from the MIDISysexSendRequest. You probably only need to update your
view about 4 times per second for nice smooth motion.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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