[pjsip] pjsua with alsa instead of oss emulation

Eugene Prokopiev prokopiev at stc.donpac.ru
Mon Sep 17 09:11:06 EDT 2007


>> Is it possible to use alsa instead of oss emulation with PJSUA?
> 
> pjsip, or more precisely PortAudio in pjmedia, can support both alsa 
> and oss. If alsa-devel is present and detected during ./configure, 
> then it will be used by default.

$ ./configure 2>&1 | tee configure.log
...
checking alsa/version.h usability... yes
checking alsa/version.h presence... yes
checking for alsa/version.h... yes
...

$ pjsip-apps/bin/pjsua-i686-pc-linux-gnu
...
  16:52:05.102  pjsua_media.c Closing (null) sound playback device and 
(null) sound capture device
  16:52:05.587      pasound.c PortAudio sound library shutting down..
  16:52:05.587      pasound.c PortAudio sound library shutting down..
...

$ ldd pjsip-apps/bin/pjsua-i686-pc-linux-gnu
         linux-gate.so.1 =>  (0xffffe000)
         libm.so.6 => /lib/libm.so.6 (0xb7ee8000)
         libpthread.so.0 => /lib/libpthread.so.0 (0xb7ed2000)
         libasound.so.2 => /usr/lib/libasound.so.2 (0xb7e0d000)
         libc.so.6 => /lib/libc.so.6 (0xb7ce7000)
         /lib/ld-linux.so.2 (0x80000000)
         libdl.so.2 => /lib/libdl.so.2 (0xb7ce2000)

What's wrong?





More information about the pjsip mailing list