[pjsip] Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

Maya Zalcberg maya at zemingo.com
Fri Mar 12 01:05:36 CST 2010


Hi Elangbam,
Because of the addition of the file iphone_dev.c, please make sure you also
added the following lines that refer to it:

1) audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
pjmedia_aud_dev_factory* pjmedia_iphone_factory(pj_pool_factory *pf);
#endif

2) audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
    aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_iphone_factory;
#endif

3) os-auto.mak.in:
#
# iPod/iPhone
#
ifeq ($(AC_PJMEDIA_SND),iphone)
# AUDIO DEV
export PJMEDIA_AUDIODEV_OBJS += iphone_dev.o
export CODEC_OBJS += passthrough.o
export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE=1

export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0
-DPJMEDIA_AUDIO_DEV_HAS_WMME=0
endif

4)config.h:
#ifndef PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
#   define PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE  0
#endif

Hope it helps.

Regards,
Maya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100312/b35dd8d4/attachment.html>


More information about the pjsip mailing list