gordonb3 wrote: 
> (...) but obviously it did reset the timer so I'm back to waiting
> another 24 days to verify what it does.

Are you able to edit the jive_jiffies() function in src/common.h to
return a timer value right from the start that is - let's say - 1 minute
before wrapping (corresponding to 0x7FFF15A0) ?
That would dramatically speed up testing.
e.g.

Code:
--------------------
    
  /* time */
  #if HAVE_CLOCK_GETTIME
  static inline Uint32 jive_jiffies(void)
  {
        struct timespec now;
  
        clock_gettime(CLOCK_MONOTONIC, &now);
        return (now.tv_sec*1000)+(now.tv_nsec/1000000) + 0x7FFF15A0;
  }
  #else
  #define jive_jiffies() (SDL_GetTicks() + 0x7FFF15A0)
  #endif
  
--------------------



1x Squeezebox Classic, 3x Radio, 1x Touch, LMS 7.9.1 running on
ODROID-U3, Ubuntu 16.04 and I'm happy with it! :)
------------------------------------------------------------------------
Steevee28's Profile: http://forums.slimdevices.com/member.php?userid=36395
View this thread: http://forums.slimdevices.com/showthread.php?t=111650

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to