From: Mathieu Rene Date: Sat, 14 Feb 2009 01:04:28 +0000 (+0000) Subject: mod_speex also needs libspeexdsp X-Git-Tag: v1.0.3~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d2747acfb5301ba3f037d42e9af408fbde57bd6;p=thirdparty%2Ffreeswitch.git mod_speex also needs libspeexdsp git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12008 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/codecs/mod_speex/Makefile b/src/mod/codecs/mod_speex/Makefile index 3c7deec9cf..8c104f3e85 100644 --- a/src/mod/codecs/mod_speex/Makefile +++ b/src/mod/codecs/mod_speex/Makefile @@ -2,11 +2,16 @@ BASE=../../../.. SPEEX_DIR=$(BASE)/libs/speex SPEEXLA=$(SPEEX_DIR)/libspeex/libspeex.la +SPEEXDSPLA=$(SPEEX_DIR)/libspeex/libspeexdsp.la LOCAL_CFLAGS=-I$(SPEEX_DIR)/include -LOCAL_LIBADD=$(SPEEXLA) +LOCAL_LIBADD=$(SPEEXLA) $(SPEEXDSPLA) include $(BASE)/build/modmake.rules $(SPEEXLA): $(SPEEX_DIR) $(SPEEX_DIR)/.update cd $(SPEEX_DIR)/libspeex && $(MAKE) $(TOUCH_TARGET) + +$(SPEEXDSPLA): $(SPEEX_DIR) $(SPEEX_DIR)/.update + cd $(SPEEX_DIR)/libspeex && $(MAKE) + $(TOUCH_TARGET) \ No newline at end of file diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index 8fe159be34..76643efb78 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -74,7 +74,7 @@ struct speex_context { int decoder_mode; }; -static switch_status_t switch_speex_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings) +switch_status_t switch_speex_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings) { struct speex_context *context = NULL; int encoding, decoding;