midisync.cpp
// swap byte-order to Little Endian

swap byte-order to Little Endian
swap byte - order to Little Endian
void SwapShort(uint16_t *v)
{
  uint8_t a = *v & 0xff;
  uint8_t b = (*v >> 8) & 0xff;
  *v = (a << 8) | b;
}
void SwapShort ( uint16_t * v ) { uint8_t a = * v & 0xff ; uint8_t b = ( * v >> 8 ) & 0xff ; * v = ( a << 8 ) | b ; }
swap byte-order to Little Endian
swap byte - order to Little Endian