gordonb3 wrote: 
> (...) the obvious solution is to make both environments use a compatible
> number format (...)
Fully agree to this :cool: (and your whole post). 
So for me now, encapsulating a native -int32- or -uint32- timer value in
a Lua -userdata- type, as proposed by @mrw, seems to be the only
solution that can certainly achieve this, giving us the additional
opportunity of simply using built-in modular arithmetics for timer
difference calculations, resulting in pretty clean code.
It also seems that we may have a good chance of not requiring any code
changes on Lua side, but of course, the C/Lua interactions would all
have to be looked through and adapted.



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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to