1 --- a/pjmedia/src/pjmedia-audiodev/audiodev.c
2 +++ b/pjmedia/src/pjmedia-audiodev/audiodev.c
3 @@ -98,6 +98,10 @@ pjmedia_aud_dev_factory* pjmedia_symb_md
4 pjmedia_aud_dev_factory* pjmedia_null_audio_factory(pj_pool_factory *pf);
7 +#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE
8 +pjmedia_aud_dev_factory* pjmedia_tapi_factory(pj_pool_factory *pf);
11 #define MAX_DRIVERS 16
14 @@ -409,6 +413,9 @@ PJ_DEF(pj_status_t) pjmedia_aud_subsys_i
15 #if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO
16 aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_null_audio_factory;
18 +#if PJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE
19 + aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_tapi_factory;
22 /* Initialize each factory and build the device ID list */
23 for (i=0; i<aud_subsys.drv_cnt; ++i) {