From 432e2ecc137d4fb4d9f6ac87cbbc38830a1f3c2c Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Thu, 13 Aug 2009 20:38:59 +0000 Subject: Modify libatrac to use fixed-point arithmetic. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22298 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libatrac/README.rockbox | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libatrac/README.rockbox') diff --git a/apps/codecs/libatrac/README.rockbox b/apps/codecs/libatrac/README.rockbox index 7f62e10bb4..46738e7d7b 100644 --- a/apps/codecs/libatrac/README.rockbox +++ b/apps/codecs/libatrac/README.rockbox @@ -8,13 +8,19 @@ ffmpeg is licensed under the Lesser GNU General Public License. IMPORT DETAILS -The decoder is based on ffmpeg-svn r18079. It still uses floating -point math and not suitable to be used in rockbox. +The decoder is based on ffmpeg-svn r18079. +The decoder had been modified to use fixed-point arithmetic. TESTING The test program should compile in any Unix-like environment using the command "make -f Makefile.test". +For ARM targets add -DCPU_ARM to CFLAGS in Makefile.test to make use of +the asm ARM optimisations in rockbox's mdct library. + +For Big-endian targets, change -D"ROCKBOX_LITTLE_ENDIAN=1" +to -D"ROCKBOX_BIG_ENDIAN=1" in Makefile.test. + Running "./atractest file.rm" will decode the audio data to a WAV file called "output.wav" in the current directory. -- cgit v1.2.3