Re: Custom Control Managing Multiple Parameters
Re: Custom Control Managing Multiple Parameters
- Subject: Re: Custom Control Managing Multiple Parameters
- From: AJ <email@hidden>
- Date: Tue, 23 Aug 2005 12:46:35 -0700
Well ultimately, I would like to use Live as my host so it's relevant
for me to test under Live to see what idiosyncracies exist!
Be that as it may.. at the end of my kEventControlDrawCode I did insert
a CGContextFlush call, which P.S. I had originally avoided due to Apple
Quartz 2d documentation caveats: " Because the system software flushes
a context automatically at the appropriate times, calling this function
could have an adverse effect on performance. Under normal conditions,
you do not need to call this function."
So now the kEventControlDraw generated by the AUParmeterListener does
result in the UI appropriately reflecting changes.
Is there someway to ask for a graphics context flush without immediately
requiring it be done since I'd rather not negatively affect
performance. In other words how does one create the environment for
"the system software flushes a context automatically at the appropriate
times"?
So, I've got a suboptimal solution which is of course better than none.
--aj
Custom Control Managing Multiple Parameters
To get maximum debugging help. I would recommend using AULab as your
testing scenario not Live.
Also, please post the relevant portions of your kEventControlDraw code.
It seems like a refresh/flush problem to me.
--
"Chance is the limit of the notion of evolving symmetry."
-- Iannis Xenakis
_______________________________________________
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