• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How To Give Idle Time From The AU To The Host ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Airy André <email@hidden>
  • Date: Tue, 3 Jun 2003 20:02:49 +0200

Le mardi, 3 juin 2003, ` 18:32 Europe/Paris, Eric Eizenman a icrit :

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 ?

------------------------------------------------------------------
Eric Eizenman
Waves, Plug-ins Development
------------------------------------------------------------------

Yes, TrackMouseLocation is a blocking call for the current thread.
Can't you use the method proposed here and on the carbon list for this problem ?
Here what we do in our TViewNoCompositingCompatible class :
- in your track method, install an event handler for kEventMouseUp and kEventMouseDragged
- when you receive kEventMouseDragged, just do your dragging stuff
- when you receive kEventMouseUp, remove your event handler.
But we are using Carbon events...
My non-carbon events memory is too dim to be able to help here...

Airy
_______________________________________________
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.

References: 
 >How To Give Idle Time From The AU To The Host ? (From: Eric Eizenman <email@hidden>)

  • Prev by Date: Re: Audio Unit valid Input and Output configuration
  • Next by Date: Re: silence a chunk in Audio Unit render function
  • Previous by thread: How To Give Idle Time From The AU To The Host ?
  • Next by thread: Re: How To Give Idle Time From The AU To The Host ?
  • Index(es):
    • Date
    • Thread