MCPcopy Create free account
hub / github.com/digego/extempore / getOSCfloat

Method getOSCfloat

src/OSC.cpp:903–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901 }
902
903 int OSC::getOSCfloat(const char* data, float* f) {
904 *f = unswap32f(*((uint32_t*)data));
905#ifdef _OSC_DEBUG_
906 std::cout << "OSC FLOAT 32 = " << *f << std::endl;
907#endif
908 return 4;
909 }
910
911
912 int OSC::setOSCdouble(char* data, double* f) {

Callers

nothing calls this directly

Calls 1

unswap32fFunction · 0.85

Tested by

no test coverage detected