-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Something weird is going on with iOS 10 with these two lines in OSCBundle (lines 218, 219):
long time_s = NSSwapHostLongToBig(floor(interval));
long time_us = NSSwapHostLongToBig((long)(floor((double)1000000.0 * ((double)(interval - (double)time_s)))));
I'm not sure what is happening, but NSSwapHostLongToBig is just not giving out the same results on iOS 10 vs iOS 9.
As a result the bundle time is getting totally messed up. I think it's got to do with LONG_MAX being much higher on my x64 iOS 10 iPhone 6 test device.
Also of note, on line 218, (interval - time_s) should be (interval - floor(interval)).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels