[pjsip] Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
Angel Of Retributioin
elangbamjohnson at gmail.com
Fri Mar 12 02:42:36 CST 2010
Maya, did you use both the patch "patch-audio_dev" and
"patch-audioqueue-dev"
Regards,
Elangbam Johnson
On 12 March 2010 12:35, Maya Zalcberg <maya at zemingo.com> wrote:
> 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.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
--
Elangbam Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100312/0e6833ab/attachment.html>
More information about the pjsip
mailing list