sbellon;554643 Wrote:
> >
Code:
--------------------
> >
> copy = value;
> for (bit = 0; bit < 32; ++bit)
> {
> bit_set = copy & 1;
> copy = copy >> 1;
> }
>
--------------------
> >
> This should avoid the necessity to AND with a 32-bit top-bit set
> mask.
That works but uncovers another problem - It looks like all the
intrinsic lua type coersion functions are limited to 32-bit numbers so
there is nothing to be gained. I don't think it's going to be too big
a problem, the number of problem lirc files shoud be small and tweaking
them to work with SqueezeIR is fairly trivial now we know what the issue
is. Thanks anyway.
--
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile:
http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=79524
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins