alistairrutherford / osc-tools

OSC (Open Sound Control) libraries and tools written in Java. The design principle of these components is to adopt a 'pooled' approach to message handling and hence are ideal for Android as well as the desktop
Other
16 stars 7 forks source link

Where's "addType()" for OSCmessages? #6

Open blausand opened 6 years ago

blausand commented 6 years ago

Hi Alistair, i'm sure you're busy with something completely different by now, but still i hope you find a moment to guide me through yout library: Where's the OSCMessage.java adding types to the OSCmessage objects? I can only see it setting the address and adding values…

Anyway, could i use Signal or any chat instead of abusing the Issues-section for this?

alistairrutherford commented 6 years ago

Hi Melchior,

The types are inferred by the arguments. When OSCMessage is encoded with OSCEncoder the method writeType takes the arguments are writes the appropriate type value into the buffer for the argument. You don't have to manually set the type when you create the OSCMessage the OSCEncoder does it for you.

Hope this helps.

Alistair.

On 27 April 2018 at 19:21, Melchior blausand notifications@github.com wrote:

Hi Alistair, i'm sure you're busy with something completely different by now, but still i hope you find a moment to guide me through yout library: Where's the OSCMessage.java adding types to the OSCmessage objects? I can only see it setting the address and adding values…

Anyway, could i use Signal or any chat instead of abusing the Issues-section for this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alistairrutherford/osc-tools/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuoPPaV1dO6Rf-Hjcm3tfBpXvD1jDRoks5ts2GwgaJpZM4Tqz3l .