[MPlayer-dev-eng] Re: Audio filter problems: af_format.c

Anders Johansson ajh at watri.uwa.edu.au
Mon Oct 14 11:03:43 CEST 2002


Hi,

> I wrote
> 
> > How is the audio filtering system supposed to work on big endian cpus?
> 
> The appended patch should fix the problem on big endian cpus.
> 
> af_format.c swaps bytes only in case the input / output format is
> different from the cpu's native endian format.
> 
> And af_resample.c requests 16-bit samples in native byte order for
> it's input and output.
> 

Thank you for fixing the problem, sorry I coudn't when you published
the patch (the network has been down), nice solution!

//Anders




More information about the MPlayer-dev-eng mailing list