diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2008-07-23 19:40:44 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2008-07-23 19:40:44 +0400 |
commit | c97e4c008d18f25838a9aa977e2696dad0794616 (patch) | |
tree | d24614a8fb24712527b3dfbe8b7a072fbbf09ebf | |
parent | 74bff0a77bc12d123e2e72cb979a70e0651924fc (diff) |
properly implemented SPEEX_PREPROCESS_GET_ECHO_STATE
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | libspeex/preprocess.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index beea82c..057d888 100644 --- a/configure.ac +++ b/configure.ac @@ -7,14 +7,14 @@ AM_CONFIG_HEADER([config.h]) SPEEX_MAJOR_VERSION=1 SPEEX_MINOR_VERSION=1 SPEEX_MICRO_VERSION=16 -SPEEX_EXTRA_VERSION=-git +SPEEX_EXTRA_VERSION= #SPEEX_VERSION= #SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION SPEEX_VERSION="1.2rc1" -SPEEX_LT_CURRENT=5 +SPEEX_LT_CURRENT=6 SPEEX_LT_REVISION=0 -SPEEX_LT_AGE=4 +SPEEX_LT_AGE=5 AC_SUBST(SPEEX_LT_CURRENT) AC_SUBST(SPEEX_LT_REVISION) diff --git a/libspeex/preprocess.c b/libspeex/preprocess.c index 89f65a8..1309adf 100644 --- a/libspeex/preprocess.c +++ b/libspeex/preprocess.c @@ -1169,7 +1169,7 @@ EXPORT int speex_preprocess_ctl(SpeexPreprocessState *state, int request, void * st->echo_state = (SpeexEchoState*)ptr; break; case SPEEX_PREPROCESS_GET_ECHO_STATE: - ptr = (void*)st->echo_state; + (*(SpeexEchoState**)ptr) = (SpeexEchoState*)st->echo_state; break; #ifndef FIXED_POINT case SPEEX_PREPROCESS_GET_AGC_LOUDNESS: |