VU meter drawing performance
VU meter drawing performance
- Subject: VU meter drawing performance
- From: Ethan Funk <email@hidden>
- Date: Fri, 18 Dec 2009 10:16:42 -0700
I have a drawing related question that I want to bounce off everyone
here at coreaudio before I go over to the drawing folks since it is
likely that many of you have come across this before with VU metering.
I have a custom NSView I use for VU meters in my application. All the
NSViews, one for each channel, are passed updated VU values at the
same time (via a "for loop" with in an NSTimer even handler) and each
NSView, after drawing the value, then sends setNeedsDisplayInRect to
it's super view so it's queued for screen update. But on screen,
instead of all the VU meters updating at once, they are redrawn in a
wave across the screen.
How can I get the displays to all update together?
Thanks,
Ethan...
_______________________________________________
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