mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
lame
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@285 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
418ba6863d
commit
4e64802ef6
@ -1,11 +1,11 @@
|
|||||||
applications/mod_bridgecall
|
applications/mod_bridgecall
|
||||||
applications/mod_playback
|
applications/mod_playback
|
||||||
#applications/mod_skel
|
#applications/mod_skel
|
||||||
codecs/mod_codec_g729
|
#codecs/mod_codec_g729
|
||||||
codecs/mod_codec_gsm
|
codecs/mod_codec_gsm
|
||||||
codecs/mod_g711codec
|
codecs/mod_g711codec
|
||||||
codecs/mod_rawaudio
|
codecs/mod_rawaudio
|
||||||
codecs/mod_speexcodec
|
#codecs/mod_speexcodec
|
||||||
dialplans/mod_dialplan_demo
|
dialplans/mod_dialplan_demo
|
||||||
endpoints/mod_exosip
|
endpoints/mod_exosip
|
||||||
endpoints/mod_iaxchan
|
endpoints/mod_iaxchan
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
CFLAGS += -I/usr/local/include/libg729
|
|
||||||
LDFLAGS +=-lg729
|
LDFLAGS +=-lg729
|
||||||
|
|
||||||
all: $(MODNAME).so
|
all: depends $(MODNAME).so
|
||||||
|
|
||||||
|
depends:
|
||||||
|
$(BASE)/buildlib.sh $(BASE) install codec/libg729 --prefix=$(PREFIX)
|
||||||
|
|
||||||
$(MODNAME).so: $(MODNAME).c
|
$(MODNAME).so: $(MODNAME).c
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
||||||
|
@ -362,14 +362,14 @@ SWITCH_DECLARE(switch_status) switch_core_file_read(switch_file_handle *fh, void
|
|||||||
{
|
{
|
||||||
assert(fh != NULL);
|
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)
|
SWITCH_DECLARE(switch_status) switch_core_file_write(switch_file_handle *fh, void *data, size_t *len)
|
||||||
{
|
{
|
||||||
assert(fh != NULL);
|
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)
|
SWITCH_DECLARE(switch_status) switch_core_file_seek(switch_file_handle *fh, unsigned int *cur_pos, unsigned int samples, int whence)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user