Group s1_audio_device_config

group s1_audio_device_config

Compile time configurations.

Defines

PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO

This setting controls whether PortAudio support should be included.

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

PJMEDIA_AUDIO_DEV_HAS_ALSA

This setting controls whether native ALSA support should be included.

PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO

This setting controls whether null audio support should be included.

PJMEDIA_AUDIO_DEV_HAS_COREAUDIO

This setting controls whether coreaudio support should be included.

PJMEDIA_AUDIO_DEV_HAS_WMME

This setting controls whether WMME support should be included.

PJMEDIA_AUDIO_DEV_HAS_SYMB_APS

This setting controls whether Symbian APS support should be included.

PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC

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)

PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS

This setting controls whether Symbian VAS support should be included.

PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION

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)

PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA

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

PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START

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)

PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE

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.