• 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
VU meter drawing performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: VU meter drawing performance
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: iPhone - RenderCallback not called when phone is locked
  • Next by Date: Re: VU meter drawing performance
  • Previous by thread: Re: automated response
  • Next by thread: Re: VU meter drawing performance
  • Index(es):
    • Date
    • Thread