diff options
author | John Crispin <blogic@openwrt.org> | 2011-02-01 23:07:54 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-02-01 23:07:54 +0000 |
commit | d66c8056e6da4bf966a1c3dd95cd52711ceeef1d (patch) | |
tree | dd9ae80d1b2ea56bee67472c1bcaf80317703efa /package/pjsip/patches/000-aconf.patch | |
parent | dafef5a4f91473021f2a64805bcf8a966d4cbf9d (diff) | |
download | upstream-d66c8056e6da4bf966a1c3dd95cd52711ceeef1d.tar.gz upstream-d66c8056e6da4bf966a1c3dd95cd52711ceeef1d.tar.bz2 upstream-d66c8056e6da4bf966a1c3dd95cd52711ceeef1d.zip |
[pjsip]
* update to version 1.8.5
* add code to allow selection of features via menuconfig
* add sound device backend for lantiq voip hardware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25298 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pjsip/patches/000-aconf.patch')
-rw-r--r-- | package/pjsip/patches/000-aconf.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/pjsip/patches/000-aconf.patch b/package/pjsip/patches/000-aconf.patch new file mode 100644 index 0000000000..96c519aea0 --- /dev/null +++ b/package/pjsip/patches/000-aconf.patch @@ -0,0 +1,42 @@ +--- a/aconfigure.ac ++++ b/aconfigure.ac +@@ -48,7 +48,7 @@ + CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'` + fi + +-if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi ++AR="${CROSS_COMPILE}ar rv" + AC_SUBST(AR) + if test "$LD" = ""; then LD="$CC"; fi + AC_SUBST(LD) +@@ -590,6 +590,15 @@ + AC_MSG_RESULT([Checking if external sound is set... yes]) + fi] + ) ++ ++AC_ARG_ENABLE(ltq_tapi, ++ AC_HELP_STRING([--enable-ltq-tapi], ++ [PJMEDIA will use ltq tapi backend]), ++ [if test "$enable_ltq_tapi" = "yes"; then ++ [ac_pjmedia_snd=ltqtapi] ++ AC_MSG_RESULT([Checking if external sound is set... yes]) ++ fi] ++ ) + + dnl # Include resampling small filter + AC_SUBST(ac_no_small_filter) +--- a/pjmedia/build/os-auto.mak.in ++++ b/pjmedia/build/os-auto.mak.in +@@ -118,4 +118,11 @@ + export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 + endif + +- ++# ++# Lantiq tapi backend ++# ++ifeq ($(AC_PJMEDIA_SND),ltqtapi) ++export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 ++export PJMEDIA_AUDIODEV_OBJS += tapi_dev.o ++export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE=1 ++endif |