Replacing the audio backend in pjsua

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

 



On Wed, Oct 14, 2009 at 5:45 PM, Dan Arrhenius <dan at keystream.se> wrote:
> Hello,
> I've been working with pjproject 1.0.x and want to upgrade to the latest
> version.
> How can I replace the audio back-end in pjsua with my own using the new
> audio subsystem? With the old version I configured pjproject with
> '--enable-ext-sound' and supplied rules to build the audio back-end in
> user.mak.
>
> As I understand it all available audio back-ends are hard-coded in
> audiodev.c (PORTAUDIO, WMME, SYMB_VAS, SYMB_APS, and SYMB_MDA), and there is
> no way of dynamically add a new audio driver. Or am I missing something?
> Do I have to modify audiodev.c to get my own audio back-end in pjsua? I want
> to modify as little code in pjproject as possible to ease maintenance.
>
>

In http://trac.pjsip.org/repos/wiki/Audio_Dev_API there is a guide on
how to access legacy device using the new API (see under
PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE). I have not tested it with
--enable-ext-sound, but it's supposed to work. :)

Cheers
 Benny



[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