diff options
author | John Crispin <john@openwrt.org> | 2011-02-01 23:07:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-02-01 23:07:54 +0000 |
commit | 325ef30254da6ad43f8a514f25c4dcff474453fb (patch) | |
tree | 664e973c73f7272131387ab3eb02dabb4b142456 /package/pjsip/patches/210-pjmedia_audiodev.patch | |
parent | 39dc61352323c974c8fba6b2af70b7dcbd6176f7 (diff) | |
download | upstream-325ef30254da6ad43f8a514f25c4dcff474453fb.tar.gz upstream-325ef30254da6ad43f8a514f25c4dcff474453fb.tar.bz2 upstream-325ef30254da6ad43f8a514f25c4dcff474453fb.zip |
* update to version 1.8.5 * add code to allow selection of features via menuconfig * add sound device backend for lantiq voip hardware
SVN-Revision: 25298
Diffstat (limited to 'package/pjsip/patches/210-pjmedia_audiodev.patch')
-rw-r--r-- | package/pjsip/patches/210-pjmedia_audiodev.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/pjsip/patches/210-pjmedia_audiodev.patch b/package/pjsip/patches/210-pjmedia_audiodev.patch new file mode 100644 index 0000000000..8acba6ef45 --- /dev/null +++ b/package/pjsip/patches/210-pjmedia_audiodev.patch @@ -0,0 +1,23 @@ +--- a/pjmedia/src/pjmedia-audiodev/audiodev.c ++++ b/pjmedia/src/pjmedia-audiodev/audiodev.c +@@ -98,6 +98,10 @@ + pjmedia_aud_dev_factory* pjmedia_null_audio_factory(pj_pool_factory *pf); + #endif + ++#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE ++pjmedia_aud_dev_factory* pjmedia_tapi_factory(pj_pool_factory *pf); ++#endif ++ + #define MAX_DRIVERS 16 + #define MAX_DEVS 64 + +@@ -404,6 +408,9 @@ + #if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO + aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_null_audio_factory; + #endif ++#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE ++ aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_tapi_factory; ++#endif + + /* Initialize each factory and build the device ID list */ + for (i=0; i<aud_subsys.drv_cnt; ++i) { |