New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSCBundle:TimeTag - iOS 10 problem #24
Comments
howdy- thanks for letting me know about this. i don't have an iOS 10 SDK at my disposal right now, but i made some changes- if you could please let me know if they resolve your issue i'd appreciate it! cheers |
Awesome, thank you. iOS9 and iOS10 are now behaving the same. I am however noticing problems with the fraction microseconds (in any iOS). In the test utils that I'm using they are showing the microseconds not changing, but looking at the packet you are creating, it looks to me like the timetag is built correctly. Can I ask what test tool you're using? I'm testing with oscP5. |
FYI other libs have the second component as a fraction of 4294967296 eg: |
After a bunch of testing, I'm 99% sure you should have: |
you are, of course, correct- nice catch, thanks for the tip! just pushed some changes, please let me know if you have any more problems. |
Something weird is going on with iOS 10 with these two lines in OSCBundle (lines 218, 219):
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)).
The text was updated successfully, but these errors were encountered: