tinyosc
tinyosc copied to clipboard
A minimal Open Sound Control (OSC) library written in vanilla C.
Hi @mhroth, This commit removes the use of platform-specific functions (htonll, htobe64). Luckily knowing the endianness of the transport is sufficient to be able to encode and decode without any...
this can be useful for wrapping the writing method; e.g. like this: void send(const char *addr, const char *fmt, ...) { static uint8_t tx_buf[256]; va_list args; va_start(args, fmt); size_t len...
Added two simple deep copy functions. As you can see the memory allocation is completely in charge of the caller (as warned within the function comments), which results in the...
Hi @mhroth, same as https://github.com/mhroth/tinyosc/pull/5, but for windows. Depends on https://github.com/mhroth/tinyosc/pull/3 As with the others, please feel free to return any feedback or demand for any change or modify it....
Hi @mhroth, - added .travis.yml, very minimal setup. Just running ``build.sh`` - if it's the first Travis build for your account I'm glad to help in any ways setting it...
Added some basic changes to get this to compile for Windows. Defines `htonll` and `ntohll` if they're not defined (ie: MSYS2 using GCC)
This adds the matching that has been missing on your list :) >>>> tosc_matchAddress
tosc_reset was operating on offsets based on the location of the format (o->format). When it came time to adjust the marker location to a multiple of 4 bytes it adjusted...
Running static code analysis showed a va_list being opened then a possible return from function before the va_list is closed. This would leave the va_list open with consequential memory leak...