A sbc encode/decode library migrated from bluez project.
To avoid compilation issues, you should better switch compiler to c++ mode.
They are nearly same except header region and data endian.
.sndheader size is 24 bytes..wavheader size is 44 bytes..snddata region is in Big-Endian..wavdata region is in Little-Endian.