-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Android ByteBuffer and Color fixes #842
Conversation
i think i can do that, i have had something in my list to do it with kotlin multiplatform |
Also fixed OSC missing |
Can’t OSCStatic and its usages be removed now? |
Yeah probably, I'm not sure if keeping this class in would cause any problems or not? I can do that in this PR if you would like. |
yes please |
This didn't compile/run fine on Android. Simple one-line fix, this should be equivalent functionality. Also as a small note, the
limit(int)
method returnsBuffer
instead ofByteBuffer
, so it's just on a separate line as it affects the object it's called on.This doesn't compile/run because the method used is only available in SDK 34 (Android 14).
https://developer.android.com/reference/java/nio/ByteBuffer#slice(int,%20int)
Also worth mentioning that this could've been avoided by compiling fully with Android, though I like our current structure... If we could have some way to compile
:server:core
with Android and with regular Java depending on which is requested, that would be nice.