summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec/speex/ltp_sse.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-26 17:04:54 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-26 17:04:54 +0000
commit2fa99a7ade8748fae314aeab2fea83e9bc88c36c (patch)
tree689c1cb15f7e7304b955e296748c800ce430542d /pjmedia/src/pjmedia-codec/speex/ltp_sse.h
parentd80219f36636faa876c84b586e7b4b4815767be3 (diff)
- Bring speex codec up to date with their SVN trunk
- Speex codec should work in FIXED_POINT mode when PJ_HAS_FLOATING_POINT is set to zero. - ulaw2linear will return zero if zero is given (this would make the VAD works better, and it also fixed click noise when call is established/hangup). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@628 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-codec/speex/ltp_sse.h')
-rw-r--r--pjmedia/src/pjmedia-codec/speex/ltp_sse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia-codec/speex/ltp_sse.h b/pjmedia/src/pjmedia-codec/speex/ltp_sse.h
index 94c0012a..bed6eaac 100644
--- a/pjmedia/src/pjmedia-codec/speex/ltp_sse.h
+++ b/pjmedia/src/pjmedia-codec/speex/ltp_sse.h
@@ -35,7 +35,7 @@
#include <xmmintrin.h>
#define OVERRIDE_INNER_PROD
-static float inner_prod(const float *a, const float *b, int len)
+float inner_prod(const float *a, const float *b, int len)
{
int i;
float ret;
@@ -54,7 +54,7 @@ static float inner_prod(const float *a, const float *b, int len)
}
#define OVERRIDE_PITCH_XCORR
-static void pitch_xcorr(const float *_x, const float *_y, float *corr, int len, int nb_pitch, char *stack)
+void pitch_xcorr(const float *_x, const float *_y, float *corr, int len, int nb_pitch, char *stack)
{
int i, offset;
VARDECL(__m128 *x);