diff options
author | Mohamed Tarek <mt@rockbox.org> | 2009-07-06 22:40:45 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2009-07-06 22:40:45 +0000 |
commit | e184ef1027ba8f41aca65dbae2af05662b23c722 (patch) | |
tree | b7b108acf795d52e0c4f9f841906b02d1df3f773 /apps/codecs/libcook/cookdata_fixpoint.h | |
parent | 03fe562a95a2b4fe4b3e316d3877140c3b4c822f (diff) |
Adding support for rm playback. Only cook codec is supported for now and no seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/cookdata_fixpoint.h')
-rw-r--r-- | apps/codecs/libcook/cookdata_fixpoint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libcook/cookdata_fixpoint.h b/apps/codecs/libcook/cookdata_fixpoint.h index b394c46a27..7a9440c664 100644 --- a/apps/codecs/libcook/cookdata_fixpoint.h +++ b/apps/codecs/libcook/cookdata_fixpoint.h @@ -26,7 +26,7 @@ * fixed point data types and constants */ -#include <stdint.h> +#include <inttypes.h> typedef int32_t FIXP; /* Fixed point variable type */ typedef uint16_t FIXPU; /* Fixed point fraction 0<=x<1 */ @@ -39,11 +39,11 @@ typedef FIXP REAL_T; typedef struct { } realvars_t; - +#ifdef TEST #define cPI1_8 0xec83 /* 1pi/8 2^16 */ #define cPI2_8 0xb505 /* 2pi/8 2^16 */ #define cPI3_8 0x61f8 /* 3pi/8 2^16 */ - +#endif static const FIXPU sincos_lookup[2050] = { /* x_i = 2^16 sin(i 2pi/8192), 2^16 cos(i 2pi/8192); i=0..1024 */ 0x0000, 0xffff, 0x0032, 0xffff, 0x0065, 0xffff, 0x0097, 0xffff, |