Can't find audio device on Raspberry Pi

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

 



Hello,

I have a small and basic VoIP server application written, which I want to run on a Raspberry Pi. 
I successfully compiled PJSIP and my application for the Raspberry, though every time I start my application,
and a conference object is initialized, I'm getting the following error:

Error Code: 420006 - Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)

This is strange, as portaudio seems to have found a couple of sound devices:

11:24:29.076       pa_dev.c  PortAudio sound library initialized, status=0
11:24:29.077       pa_dev.c  PortAudio host api count=2
11:24:29.079       pa_dev.c  Sound device count=4
11:24:29.081   conference.c  Creating conference bridge with 4 ports
11:24:29.083   Master/sound  Using delay buffer with WSOLA.

Also 'aplay -l' lists one audio device:

$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

To meet all requirements of PJSIP I installed the following libraries before
I compiled PJSIP:

libasound2
libasound2-dev
libasound2-plugins
alsa-utils
libportaudio2
portaudio19-dev

On my development platform my application runs very well. My development platform:

$ uname -a
Linux 3.5.0-34-generic #55~precise1-Ubuntu SMP i686 i686 i386 GNU/Linux

Does anyone might have an idea what could be possibly missing?

Regards



[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