diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-02-13 00:48:09 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-02-13 00:48:09 +0300 |
commit | 2c4578de2034388b159c6d3d1e12e7662bfb72c4 (patch) | |
tree | c74cdbb8be59801e3f894dfef766f9b733414fa8 | |
parent | a37edb7e23077539097a5f9bed626ef4b4ad156f (diff) |
Trying to fix _spx_mips when using fixed-point debug. Still some more
work to do...
git-svn-id: http://svn.xiph.org/trunk/speex@14490 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r-- | libspeex/arch.h | 2 | ||||
-rw-r--r-- | libspeex/modes.c | 4 | ||||
-rw-r--r-- | libspeex/preprocess.c | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/libspeex/arch.h b/libspeex/arch.h index ccd24ae..d38c36c 100644 --- a/libspeex/arch.h +++ b/libspeex/arch.h @@ -232,7 +232,7 @@ typedef float spx_word32_t; #ifdef FIXED_DEBUG -long long spx_mips=0; +extern long long spx_mips; #endif diff --git a/libspeex/modes.c b/libspeex/modes.c index 33e031e..2d1beab 100644 --- a/libspeex/modes.c +++ b/libspeex/modes.c @@ -360,3 +360,7 @@ int speex_mode_query(const SpeexMode *mode, int request, void *ptr) return mode->query(mode->mode, request, ptr); } +#ifdef FIXED_DEBUG +long long spx_mips=0; +#endif + diff --git a/libspeex/preprocess.c b/libspeex/preprocess.c index c5641b1..e32f0b4 100644 --- a/libspeex/preprocess.c +++ b/libspeex/preprocess.c @@ -1183,3 +1183,8 @@ int speex_preprocess_ctl(SpeexPreprocessState *state, int request, void *ptr) } return 0; } + +#ifdef FIXED_DEBUG +long long spx_mips=0; +#endif + |