PJMEDIA_EAUD_NODEFDEV

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

 



Hello all,

	I am working on writing a simple sip program for linux on MIPS and was trying to get a feel for the libraries/code. I can get pjsip to run, and recognize my audio device, but pjsip is too bulky for what I'm trying to accomplish. I've been trying unsuccessfully to play around with pjmedia directly. When I run playfile and recfile I get this output:

root at HomeControl:/tmp# ./playfile Roland-GR-1-Clarinet-C5.wav 
 15:14:48.389 os_core_unix.c  pjlib 1.5 for POSIX initialized
 15:14:48.403       pa_dev.c  PortAudio sound library initialized, status=0
 15:14:48.405       pa_dev.c  PortAudio host api count=1
 15:14:48.406       pa_dev.c  Sound device count=0
 15:14:48.409          pjlib  select() I/O Queue created (0x4a7adc)
 15:14:48.413   wav_player.c  File player 'Roland-GR-1-Clarinet-C5.wav' created: samp.rate=44100, ch=2, bufsize=4KB, filesize=489KB
 15:14:48.415     playfile.c  Unable to open sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [code=420006]
root at HomeControl:/tmp# ./recfile test.wav
 15:15:15.988 os_core_unix.c  pjlib 1.5 for POSIX initialized
 15:15:16.002       pa_dev.c  PortAudio sound library initialized, status=0
 15:15:16.003       pa_dev.c  PortAudio host api count=1
 15:15:16.005       pa_dev.c  Sound device count=0
 15:15:16.008          pjlib  select() I/O Queue created (0x4a4e1c)
 15:15:16.012   wav_writer.c  File writer 'test.wav' created: samp.rate=44100, bufsize=4KB
Unable to open sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [code=420006]

Am I missing a #DEFINE  in config_site.h or some other header? I know it has to be really simple or pjsip wouldn't have worked at all.

Thanks,

Alfonso Ortega


[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