pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

Compile time configurations
[Audio Device API]

Compile time configurations.

Defines

#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO   1
#define PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO   0
#define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO   0
#define PJMEDIA_AUDIO_DEV_HAS_WMME   1
#define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS   0
#define PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC   1
#define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS   0
#define PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION   1
#define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA   PJ_SYMBIAN
#define PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START   1
#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE   0

Define Documentation

#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO   1

This setting controls whether PortAudio support should be included.

By default it is enabled except on Windows platforms (including Windows Mobile) and Symbian.

#define PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO   0

This setting controls whether native ALSA support should be included. This setting controls whether null audio support should be included.

#define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO   0

This setting controls whether coreaudio support should be included.

#define PJMEDIA_AUDIO_DEV_HAS_WMME   1

This setting controls whether WMME support should be included.

#define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS   0

This setting controls whether Symbian APS support should be included.

#define PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC   1

This setting controls whether Symbian APS should perform codec detection in its factory initalization. Note that codec detection may take few seconds and detecting more codecs will take more time. Possible values are:

  • 0: no codec detection, all APS codec (AMR-NB, G.711, G.729, and iLBC) will be assumed as supported.
  • 1: minimal codec detection, i.e: only detect for AMR-NB and G.711, (G.729 and iLBC are considered to be supported/unsupported when G.711 is supported/unsupported).
  • 2: full codec detection, i.e: detect AMR-NB, G.711, G.729, and iLBC.

Default: 1 (minimal codec detection)

#define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS   0

This setting controls whether Symbian VAS support should be included.

#define PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION   1

This setting controls Symbian VAS version to be used. Currently, valid values are only 1 (for VAS 1.0) and 2 (for VAS 2.0).

Default: 1 (VAS version 1.0)

#define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA   PJ_SYMBIAN

This setting controls whether Symbian audio (using built-in multimedia framework) support should be included.

#define PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START   1

This setting controls whether the Symbian audio with built-in multimedia framework backend should be started synchronously. Note that synchronous start will block the application/UI, e.g: about 40ms for each direction on N95. While asynchronous start may cause invalid value (always zero) returned in input/output volume query, if the query is performed when the internal start procedure is not completely finished.

Default: 1 (yes)

#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE   0

This setting controls whether the Audio Device API should support device implementation that is based on the old sound device API (sound.h).

Enable this API if:

  • you have implemented your own sound device using the old sound device API (sound.h), and
  • you wish to be able to use your sound device implementation using the new Audio Device API.

Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more info.

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.