In code, enumerate the sound devices using pjsua_enum_snd_devs and then set the devs that match "Microsoft Sound Mapper" as input and output sound device using pjsua_set_snd_dev. - J On Mon, Sep 29, 2008 at 2:58 PM, Rafael Crooke Vilela <rcrooke at ptec.es>wrote: > Hi Muge, > > > > I use sndinfo to find device ids. > > The devices id are correct when run pjsua at first time. > > The problem is that Windows XP change the deviceid numbers (when reboot the > machine for example). > > > > *De:* pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org] > *En nombre de *P.Muge Ersoy > *Enviado el:* lunes, 29 de septiembre de 2008 11:02 > *Para:* pjsip list > *Asunto:* Re: [pjsip] USB Sound Card Problem > > > > Hi Rafael; > > > Try to use sndinfo or sndtest programs to check sound device ids and edit > your config file... > > Muge > > On Mon, Sep 29, 2008 at 10:12 AM, Rafael Crooke Vilela <rcrooke at ptec.es> > wrote: > > Hi all, > > > > I'm using pjsua 0.9.0 as SIP client in a machine with Windows XP SP2 and > *external USB sound card*. > > > > I have configured the deviceid in a file as follows: > > > > --playback-dev=5 > > --capture-dev=2 > > > > This configuration Works fine. > > > > Suddenly the operating system (Windows XP) change the deviceid and I > can't hear anything. > > > > I need the operating system use allways the same device ids. > > Any ideas ? > > > > Regards, > > Rafael > > > _______________________________________________ > 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 > > > > _______________________________________________ > 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/20080929/f0c34000/attachment.html>