package/uboot-envtools: remove runtime dependency of zlib
[openwrt.git] / package / pjsip / patches / 210-pjmedia_audiodev.patch
1 --- a/pjmedia/src/pjmedia-audiodev/audiodev.c
2 +++ b/pjmedia/src/pjmedia-audiodev/audiodev.c
3 @@ -98,6 +98,10 @@
4 pjmedia_aud_dev_factory* pjmedia_null_audio_factory(pj_pool_factory *pf);
5 #endif
6
7 +#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE
8 +pjmedia_aud_dev_factory* pjmedia_tapi_factory(pj_pool_factory *pf);
9 +#endif
10 +
11 #define MAX_DRIVERS 16
12 #define MAX_DEVS 64
13
14 @@ -404,6 +408,9 @@
15 #if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO
16 aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_null_audio_factory;
17 #endif
18 +#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE
19 + aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_tapi_factory;
20 +#endif
21
22 /* Initialize each factory and build the device ID list */
23 for (i=0; i<aud_subsys.drv_cnt; ++i) {
This page took 0.040556 seconds and 5 git commands to generate.