Re: How To Give Idle Time From The AU To The Host ?
Re: How To Give Idle Time From The AU To The Host ?
- Subject: Re: How To Give Idle Time From The AU To The Host ?
- From: Garth Cummings <email@hidden>
- Date: Wed, 4 Jun 2003 20:18:28 -0700
Hi Eric,
On Tuesday, June 3, 2003, at 09:32 AM, Eric Eizenman wrote:
Hi,
Basically I'm looking for equivalent to VST's 'masterIdle()' function,
which the plug-in uses to give idle time to host.
The problem happens when a user clicks and drags a control then all
the host's idle activates freezes.
I saw couple of plug-ins with custom editor that presents that kind of
behavior as well as ours. The reason is probably because we're using
'TrackMouseLocation()' to check when the mouse button is released.
Until we'll have full Carbon events support, Is there a way to do it ?
It is possible to adopt Carbon events incrementally. You can read about
this starting here:
<
http://developer.apple.com/techpubs/macosx/Carbon/CarbonPortingTools/
carbon_porting_guide/cpg_newtechstruct/chapter_5_section_2.html>.
You could then install handlers for kEventMouseUp and
kEventMouseDragged without moving the rest of your code all at once to
Carbon events.
HTH,
--gc
------------------------------------------------------------------
Eric Eizenman
Waves, Plug-ins Development
------------------------------------------------------------------
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.