Can't find audio device on Raspberry Pi

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

 



Hi Paul,

Did anyone ever respond to this?

I ran into the same issue some time ago. The issue is that the raspberry pi
only has one way audio (just audio out and no microphone). So the solution
is to use a separate usb sound device. There are lots of the on amazon for
reasonable prices. There are primers on the net for getting this to work,
but if you run into any issues feel free to ping me.

-Matt


Message: 1
> Date: Wed, 4 Sep 2013 11:37:48 +0200 (CEST)
> From: "Paul Schmidt" <8flm6@xxxxxx>
> To: "pjsip list" <pjsip at lists.pjsip.org>
> Subject: Can't find audio device on Raspberry Pi
> Message-ID:
>
> <trinity-facb89e7-acca-495f-a4cb-33becc5e610f-1378287468600 at 3capp-gmx-bs47
> >
>
> Content-Type: text/plain; charset=UTF-8
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130905/53e076cc/attachment-0001.html>


[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