Skip to content

Make boolean parameter work #6

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

h4yn0nnym0u5e
Copy link
Contributor

@h4yn0nnym0u5e h4yn0nnym0u5e commented May 28, 2022

Something like OSC.SendData(OSC.CreateMessageData(addr,'F',0)); now works as expected, rather than throwing a message like
(WARNING) @ OSC.CreatePacket() skipped following values: (because of types and values mismatch): [0]

Something like OSC.SendMessage(addr,'T') now works as expected, rather than throwing a message like
(WARNING) @ OSC.CreatePacket() skipped following values: (because of types and values mismatch): [0]
@h4yn0nnym0u5e
Copy link
Contributor Author

After a bit of further testing, I find that without this PR
OSC.SendData(OSC.CreateMessageData(addr,'F')); doesn't work,
OSC.SendData(OSC.CreateMessageData(addr,'F',0)); doesn't work and gives an error, but
OSC.SendMessage(addr,'F'); does work
So there may be a better change to be made, I'm not sure. There seem to be too many ways of doing the same thing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant