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

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

symbian_sound_aps.h File Reference


Detailed Description


Functions

PJ_BEGIN_DECL pj_status_t pjmedia_snd_aps_activate_loudspeaker (pjmedia_snd_stream *stream, pj_bool_t active)


Function Documentation

PJ_BEGIN_DECL pj_status_t pjmedia_snd_aps_activate_loudspeaker ( pjmedia_snd_stream stream,
pj_bool_t  active 
)

Activate/deactivate loudspeaker, when loudspeaker is inactive, audio will be routed to earpiece.

Parameters:
stream The sound device stream, the stream should be started before calling this function. This param can be NULL to set the behaviour of next opened stream.
active Specify PJ_TRUE to activate loudspeaker, and PJ_FALSE otherwise.
Returns:
PJ_SUCCESS on success.

 


PJMEDIA small footprint Open Source media stack
(C)2003-2008 Benny Prijono