No default audio device

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

 



Hello,

I'm currently running PJSIP on an arm9 system and have been having trouble
getting PJSIP to detect my sound card.  I should mention that I have no
trouble playing or recording files using play and rec.  I have a feeling
that the problem lies in the fact that my custom audio driver only has a
playback interface (capture hasn't been implemented).

OSS emulation also seems to be working fine as I can pipe /dev/urandom out
through /dev/dsp no problem.  I also have alsa devices... Here are the
contents of my /dev/snd directory:
# ls /dev/snd
controlC0  pcmC0D0c  pcmC0D0p  timer

However, when I run PJSUA no default audio device is detected..

# ./pjsua-armv5tejl-unknown-linux-gnu
...
 14:39:43.366       pa_dev.c  PortAudio sound library initialized, status=0
 14:39:43.369       pa_dev.c  PortAudio host api count=1
 14:39:43.372       pa_dev.c  Sound device count=0
 14:39:43.379          pjlib  select() I/O Queue created (0x169ab4)
 14:39:43.696 sip_endpoint.c  Module "mod-evsub" registered
...

Running the audemo program in the samples directory gives the following
output

# ./auddemo
 14:47:24.964 os_core_unix.c  pjlib 1.3 for POSIX initialized
PA message: Expression 'ioctl( devHandle, SNDCTL_DSP_SPEED, &sr )' failed in
'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 412
PA message: Expression 'ioctl( devHandle, SNDCTL_DSP_SPEED, &sr )' failed in
'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 412
PortAudio sound library initialized, status=0
PortAudio host api count=1
Sound device count=0
No devices found
...

I'm really not sure what the issue is. any ideas?  As I said I can run rec
and get out a wav file no problem.  Is there anyway to tell pjsip to run
without a capture device?


Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090904/e75d4059/attachment.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