INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Timer in status bar updates with uneven intervals  (Read 1804 times)

ksvane

  • World Citizen
  • ***
  • Posts: 124
Timer in status bar updates with uneven intervals
« on: July 28, 2011, 04:35:05 pm »

the timer, instead of updating exactly once a second it updates with uneven intervals...
for instance, instead of
00:01...00:02...00:03...00:04...00:05...00:06...00:07...00:08 it appears
00:01..00:02....00:03.....00:04..00:05.....00:06..00:07.00:08
or whatever. (The dots indicate 1/4 of a sec.)
how can I work around that?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Timer in status bar updates with uneven intervals
« Reply #1 on: July 28, 2011, 05:20:28 pm »

You can ignore it. :-)

Probably the UI gets woken up periodically to perform the update, but the OS isn't that precise with notification timers.  You're probably seeing round off error.
Logged
The opinions I express represent my own folly.

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Timer in status bar updates with uneven intervals
« Reply #2 on: July 28, 2011, 05:47:58 pm »

I wonder if if this can be related to my post here:
http://yabb.jriver.com/interact/index.php?topic=65557.0

In the situation I describe, the progress bar will go for 20 sec or more without updating, then suddenly jump...
Logged

ksvane

  • World Citizen
  • ***
  • Posts: 124
Re: Timer in status bar updates with uneven intervals
« Reply #3 on: July 29, 2011, 04:56:10 am »

I happen to find it quite annoying - like when you hear a drummer who has serious trouble keeping a tight rhythm. Maybe it's because evertyhing else works so smoothly... makes those little imperfections annoying.
What is a round off error?
wer, I did read your post and actually considered posting this topic in reply to it, but not knowing whether the two were related I went on to start this topic... the progress bar's movements in my case follow the timer, therefore it's not too smooth and stutters a lot - yet I have never seen it actually stop for more than a few secs.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Timer in status bar updates with uneven intervals
« Reply #4 on: July 29, 2011, 10:00:33 am »

You're right.

16.0.143 will have this change:
Changed: Improved how the playback position display works so that it both appears smoother and uses less resources.

We've extended a system we made for DLNA and other remote zones where the position display must remain smooth while minimizing the number of network calls.  The system will now be used for local playback as well.
Logged
Matt Ashland, JRiver Media Center

ksvane

  • World Citizen
  • ***
  • Posts: 124
Re: Timer in status bar updates with uneven intervals
« Reply #5 on: July 29, 2011, 10:52:27 am »

wow - thanks a lot, I appreciate it. :)
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Timer in status bar updates with uneven intervals
« Reply #6 on: July 29, 2011, 05:49:50 pm »

That's great, Matt, thanks!

Are you talking also talking about the progress bar I was referring to in my post?  That one's off by more than just a fraction...
Logged
Pages: [1]   Go Up