iTunes developers?

I’m trying to sort out GasLight’s timing so that it doesn’t suck up CPU needlessly. The iTunes plugin spec includes a handy little variable called timeBetweenDataInMS, which you can in theory use to control how fast iTunes tries to render your plugin.
In theory.
In practice, I have no idea what on earth this variable does. If you set it to 33, you’d expect iTunes to update things every 33ms – or 30fps. Instead, I get framerates around 300fps.
It obviously has some sort of effect – if I boost it up to 3000, I get framerates of around 10fps.

Even if it was referring to microseconds instead of milliseconds, the numbers still don’t add up.

If any other iTunes plugin developers have figured this out, I’d really appreciate an email.

· 2004-12-05 ·

  1. /* How often to render, in milliseconds
    (0xFFFFFFFF = as often as possible) */
    UInt32 timeBetweenDataInMS; — Oy    Dec 10, 09:06 PM    #
  2. Well sure, that’s the theory. In practice, it seems a little flakey… Jonathan del Strother    Dec 17, 08:02 AM    #

Commenting is closed for this article.