]> git.tuebingen.mpg.de Git - paraslash.git/commit
fix compress filter for big endian machines
authorAndre Noll <maan@systemlinux.org>
Fri, 30 Mar 2007 15:14:04 +0000 (17:14 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 30 Mar 2007 15:14:04 +0000 (17:14 +0200)
commit85225bb1292d1885e0261fb5109d18ecd584c267
tree695e5e317f32ae81675d27bd869aff628c5c4833
parentfd7ddaebab6613627a070e8867ace2f2eb3d4cc3
fix compress filter for big endian machines

This was broken since day one as it depended on little-endianness. Fix
it by checking the byte sex in configure and let the decoders
produce host endian 16 bit audio output by using the new
write_int16_host_endian() inline function in filter.h

This allows to omit the ugly byte-swapping in osx_write we've had
before.
aacdec.c
configure.ac
filter.h
mp3dec.c
oggdec.c
osx_write.c