Hi zhuyongwen, You could try these 3 options: # define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 # define PJMEDIA_AUDIO_DEV_HAS_WMME 1 # define PJMEDIA_AUDIO_DEV_HAS_WASAPI 0 With kind regards, Cav Edwards zhuyongwen at made-in-china.com wrote: > > Hi All, > > i'm trying do some calling test with pjsip , when i call makeCall > function i catch one exception : Unalbe to find default audio device. > i think there maybe something missing when i compiling pjsip project, > > in my windows 7 platform i installed SDL, and ffmpeg , and my default > config_site.h file like below : > > > " > > #define PJ_CONFIG_MINIMAL_SIZE > > #define PJ_CONFIG_MAXIMUM_SPEED > > #define PJMEDIA_HAS_VIDEO 1 > > #define PJMEDIA_VIDEO_DEV_HAS_SDL 1 > > #define PJMEDIA_VIDEO_DEV_HAS_DSHOW 1 > > #define PJMEDIA_HAS_FFMPEG 1 > > " > > is there i missing something in this config_site.h file , cause i > can't initialization my voice device correct ? > > > > > Thanks, > > Yongwenz > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150206/379d194b/attachment.html>