]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lame
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 22:34:26 +0000 (22:34 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 22:34:26 +0000 (22:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@285 d0543943-73ff-0310-b7d9-9358b9ac24b2

modules.conf
src/mod/codecs/mod_codec_g729/Makefile
src/switch_core.c

index fbfa61505e20425d9afbca83d53f2c0fcc80bf0c..2096e1ff468bd6d29414de58371c48cd436c4dfa 100644 (file)
@@ -1,11 +1,11 @@
 applications/mod_bridgecall
 applications/mod_playback
 #applications/mod_skel
-codecs/mod_codec_g729
+#codecs/mod_codec_g729
 codecs/mod_codec_gsm
 codecs/mod_g711codec
 codecs/mod_rawaudio
-codecs/mod_speexcodec
+#codecs/mod_speexcodec
 dialplans/mod_dialplan_demo
 endpoints/mod_exosip
 endpoints/mod_iaxchan
index fbc86d50d89aadfdc0aec7eb036ebe20ed725f99..745616eedee3499c41b3f290347e7f01a75a086a 100644 (file)
@@ -1,7 +1,9 @@
-CFLAGS += -I/usr/local/include/libg729
 LDFLAGS +=-lg729
 
-all:   $(MODNAME).so
+all:   depends $(MODNAME).so
+
+depends:
+       $(BASE)/buildlib.sh $(BASE) install codec/libg729 --prefix=$(PREFIX)
 
 $(MODNAME).so: $(MODNAME).c
        $(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
index 44fb016087ace6abad210fa8d9b74c88ec19b58d..61fa15d9e48c28a06571d797c9b87773cc7ecb4b 100644 (file)
@@ -362,14 +362,14 @@ SWITCH_DECLARE(switch_status) switch_core_file_read(switch_file_handle *fh, void
 {
        assert(fh != NULL);
 
-       return fh->file_interface->file_read(fh, data, (int *)len);
+       return fh->file_interface->file_read(fh, data, (unsigned int *)len);
 }
 
 SWITCH_DECLARE(switch_status) switch_core_file_write(switch_file_handle *fh, void *data, size_t *len)
 {
        assert(fh != NULL);
 
-       return fh->file_interface->file_write(fh, data, (int *)len);
+       return fh->file_interface->file_write(fh, data, (unsigned int *)len);
 }
 
 SWITCH_DECLARE(switch_status) switch_core_file_seek(switch_file_handle *fh, unsigned int *cur_pos, unsigned int samples, int whence)