Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2008-02-13 00:48:09 +0300
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2008-02-13 00:48:09 +0300
commit2c4578de2034388b159c6d3d1e12e7662bfb72c4 (patch)
treec74cdbb8be59801e3f894dfef766f9b733414fa8
parenta37edb7e23077539097a5f9bed626ef4b4ad156f (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.h2
-rw-r--r--libspeex/modes.c4
-rw-r--r--libspeex/preprocess.c5
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
+