Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: GUI update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI update



Michael Tyson has written about this at length on his blog and here as well.  For GUI changes that must be synched with audio,  open gl is probably the best bet, and yes, you should trigger your methods from within a render callback.  Also,  I wouldn't agree about the render callback only performing audio -- in some cases you must inline your functionality to get the most speed.



On Fri, Aug 27, 2010 at 11:44 AM, Patrick Muringer <email@hidden> wrote:
Hi all,

As the Render callback should only perform audio stuff, in case of an application with timing based on sample time in the callback, what strategy would you recommend to updated the GUI? Event sent by the callback? Variable set in the callback and main thread that checks for variable changes?

Thanks for your appreciated feedback.

Pat

 _______________________________________________
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

 _______________________________________________
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

References: 
 >Re: Getting name of an Audio Unit (From: Chris Adamson <email@hidden>)
 >GUI update (From: Patrick Muringer <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.