Re: audiofile -- endian issues

Davy Durham <[email protected]> Fri, 12 Sep 2003 01:22:37 -0500
Newsgroups gmane.comp.audio.audiofile
Message-ID <[email protected]>
Michael Pruett wrote:

>Davy, the byte order of the WAVE file format is always little-endian,
>but the virtual byte order of any file is, by default, always the native
>byte order of the system (big endian in your case).
>  
>
Ah.. my bad.  Of the 4 places where byte order is concerned with 
(afSetByteOrder() and afSetVirtualByteOrder then x 2 for loading and 
saving) I was playing with the wrong setting.   Setting the virtual byte 
order is working beautifully.  (at least for .wavs which is what I'm 
testing currently)

Thanks,
  Davy