pjsua application cannot detect audio device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make sure you have the ALSA (asound) development files on your system.
On Ubuntu the package is 'libasound2-dev'. Check if this file exists
on your system '/usr/include/alsa/pcm.h'.
If it doesn't you'll need it at least while compiling pjproject.

On Fri, Jun 28, 2013 at 2:49 AM, Tanvi Sachdeva <tanvi164 at gmail.com> wrote:
> Thanks all for the help but I the issue is that I do have a sound card
> installed and it is not being used by any other application but still pjsua
> gives the error.
> Also, through the logs I can see that it is not able to get the sound
> device.
>
> 16:27:00.861     audiodev.c  ..drv_cnt=1
> 16:27:01.423       pa_dev.c  ..PortAudio sound library initialized, status=0
> 16:27:01.424       pa_dev.c  ..PortAudio host api count=2
> 16:27:01.427       pa_dev.c  ..Sound device count=0
> 16:27:01.428     audiodev.c  ..device_cnt=0
> 16:27:01.441     audiodev.c  ..audio_sys.dev-cnt=0
>
> Output of cat /dev/sndstat
> Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
> Kernel: Linux CIVS-IPC-6000P-VTW0002D117F09A
> 2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Mon Jun 17 11:02:09 PDT 2013
> armv5tejl
> Config options: 0
>
> Installed drivers:
> Type 10: ALSA emulation
>
> Card config:
> DaVinci DM365 EVM (aic3x)
>
> Audio devices:
> 0: aic3x-0 (DUPLEX)
>
> Synth devices: NOT ENABLED IN CONFIG
>
> Midi devices: NOT ENABLED IN CONFIG
>
> Timers:
> 7: system timer
>
>
>
>
> On Thu, Jun 27, 2013 at 12:25 AM, Amar Akshat <amar.akshat at gmail.com> wrote:
>>
>> On Thu, Jun 27, 2013 at 2:31 PM, Rajat Jain <rajatjain at drishti-soft.com>
>> wrote:
>> > Some other application has taken control of your sound devices.
>> > Try closing those application (even media player) and restart PJSUA.
>> >
>>
>> Are you operating with Pulseaudio ?
>> If you are operating with pulseaudio, then you should be able to use
>> "pulse" or "default" sound card. If you are operating barely on top of
>> ALSA, then you might have to make sure that only one application is
>> accessing the sound card.
>>
>> Amar-Akshat
>>
>> _______________________________________________
>> 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
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux