Open janstary opened 1 month ago
sox_i.h checks if HAVE_BYTESWAP_H, in which case it uses bswap_16 and bswap_32. This seems to be specific to linux. On _MSC_VER, it uses _byteswap_ushort.
sox_i.h
HAVE_BYTESWAP_H
bswap_16
bswap_32
_MSC_VER
_byteswap_ushort
Drop this dance and use the standard POSIX functions from the htobe16 family instead.
htobe16
sox_i.h
checks ifHAVE_BYTESWAP_H
, in which case it usesbswap_16
andbswap_32
. This seems to be specific to linux. On_MSC_VER
, it uses_byteswap_ushort
.Drop this dance and use the standard POSIX functions from the
htobe16
family instead.