12 Sep 03:48
audiofile -- endian issues
Davy Durham <ddurham <at> calvin.homeip.net>
2003-09-12 01:48:58 GMT
2003-09-12 01:48:58 GMT
On a big-endian machine would I still need to swap endian when saving to a .wav file. I'm fairly sure that for the .wav format it is always assumed that the PCM is little endian. The lib won't accept anything but little endian for afInitByteOrder(). And it doesn't seem to be doing any byte swapping on it's own when writing a .wav on a big endian machine. Is this the case for all the formats?
RSS Feed