Fix rbspeex on big endian hosts.
commit6c70dd10617bb5473afa006089909a8c71f1f9e7
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sun, 14 Mar 2010 18:20:18 +0000 (14 18:20 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sun, 14 Mar 2010 18:20:18 +0000 (14 18:20 +0000)
treeee6e6de886f10aefa758e065014c4ef676756f61
parent07565870ab3c7aceb4c2493cea4a2c987ee68d06
Fix rbspeex on big endian hosts.

Big endian hosts need to byteswap the wave data when reading or writing to
disk. Should fix speex based voice- and talkfiles only containing garbage on
PPC machines.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25177 a1c6a512-1295-4272-9138-f99709370657
tools/rbspeex/rbspeex.c
tools/rbspeex/rbspeexdec.c