Have you compiled with libasound2-dev installed? On Fri, Nov 16, 2012 at 11:39 PM, Sanil Rc <sanil.rc at gmail.com> wrote: > Few more updates on the problem: > > I tired steps mentioned in > https://help.ubuntu.com/community/SoundTroubleshooting and found > everything normal. > For eg: sudo lspci -v | grep -A7 -i "audio" shows AMD nee ATI wrestler > HDMI and nee ATI SBx00 Azalia as audio devices. > > Also aplay -l lists HDMI, ALC888 and USB audio cards. > > I guess there isnt anything wrong with my OS configuration. > > PJSIP playfile, auddemo and pjsystest applications are listing > SoundDevice count as 0 and giving PJMEDIA_EAUD_NODEFDEV error. > > > -Sanil > > > > > On Fri, Nov 16, 2012 at 9:46 PM, Sanil Rc <sanil.rc at gmail.com> wrote: > >> Exact error message looks like: >> ---------------------------------- >> pa_dev.c : PortAudio, sound library initialized status = 0 >> pa_dev.c : PortAudio host api count = 1 >> pa_dev.c : SoundDevice count = 0 >> pjlib : Select() IO queue created >> wav_payer.c : fileplayer /home/X/Music/sng.wav samp.rate 44100, ch=1, >> bufsize=4k, filsize=157k >> playfile.c : Unable to open sound device: Unable to find default audio >> device (PJMEDIA_EAUD_NODEFDEV) [code=420006] >> ---------------------------------- >> >> >> >> >> >> On Fri, Nov 16, 2012 at 9:24 PM, Sanil Rc <sanil.rc at gmail.com> wrote: >> >>> Hello Trent Creekmore, >>> >>> I tried running the application after directly logging-in to the machine >>> too. >>> But I am getting the same error. >>> >>> And the Wav file is playing fine with rhythmbox music player. >>> >>> Any clues? >>> >>> Regards >>> Sanil >>> >>> >>> >>> On Fri, Nov 16, 2012 at 2:11 AM, Trent Creekmore <tcreek at gmail.com>wrote: >>> >>>> > I am accessing the machine via putty.**** >>>> >>>> ** ** >>>> >>>> There is your problem right there. It want so to send audio over the >>>> SSH connection, which cannot be done.**** >>>> >>>> ** ** >>>> >>>> *From:* pjsip [mailto:pjsip-bounces at lists.pjsip.org] *On Behalf Of *Sanil >>>> Rc >>>> *Sent:* Thursday, November 15, 2012 1:39 PM >>>> *To:* pjsip at lists.pjsip.org >>>> *Subject:* [pjsip] Unable to find default audio device in Ubuntu**** >>>> >>>> ** ** >>>> >>>> Hi, >>>> >>>> I installed Pjsip in Ubuntu in x86_64 machine. When I try to make >>>> calls, I get errors "Unable to find default audio device >>>> PJMEDIA_EAUD_NODEFDEV error. >>>> >>>> I tried playing a wav file using playfile application as per >>>> http://trac.pjsip.org/repos/wiki/audio-check-play. >>>> >>>> Playfile application also throws same error. >>>> >>>> But 'pactl stat' shows default sink and source as >>>> alsa_output.pci_0000_00_14.2.analog-stereo abd >>>> alsa_input.pci_0000_00_14.2.analog-stereo respectively. >>>> >>>> >>>> Could you help me on this issue? >>>> >>>> Regards >>>> Sanil**** >>>> >>>> >>>> _______________________________________________ >>>> 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/20121117/43533ad2/attachment-0001.html>