[Tremor] Byte order problem

Niklas Barsk nibarius at gmail.com
Fri Sep 24 00:12:55 PDT 2004


Thanks for all help.
It feels like a have a good grasp on this now.

Best Regards
Niklas Barsk

On Wed, 22 Sep 2004 10:33:45 -0400, Monty <xiphmont at xiph.org> wrote:
> 
> 
> 
> 
> 
> On Thu, Sep 23, 2004 at 08:55:54AM +0200, Niklas Barsk wrote:
> > > > > > Does anyone know why this happens and how I can solve it?
> > >
> > > You decode wass correct.  It's what you're doing with the data
> > > afterward that's likely erroneous.
> >
> > That explains a lot. Since I cannot play sound files on the Unix I am
> > working on I sent the decoded wav file to a PC and tried to play it
> > there.
> >
> > Does this mean that all wav files created on a big endian machine is
> > unplayable on a little endian machine and vice versa?
> 
> WAV is always little endian, but it's not your only choice of audio
> container for PCM data.  AIFF-C may be either endian.  Google should
> help you here.
> 
> Monty
>


More information about the Tremor mailing list