Ignore:
Timestamp:
Jan 28, 2009 6:03:12 PM (15 years ago)
Author:
nanang
Message:

Initial sources of APS-direct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/include/pjmedia/symbian_sound_aps.h

    r2394 r2434  
    3232 
    3333/** 
     34 * Declaration of APS sound setting.   
     35 */ 
     36typedef struct pjmedia_snd_aps_setting 
     37{ 
     38    pjmedia_fourcc      format;   /**< Format (FourCC ID).      */  
     39    pj_uint32_t         bitrate;  /**< Bitrate (bps).           */ 
     40    pj_uint32_t         mode;     /**< Mode, currently only used  
     41                                       for specifying iLBC mode, 
     42                                       20ms or 30ms frame size. */ 
     43    pj_bool_t           plc;      /**< PLC enabled/disabled.    */ 
     44    pj_bool_t           vad;      /**< VAD enabled/disabled.    */ 
     45    pj_bool_t           cng;      /**< CNG enabled/disabled.    */ 
     46    pj_bool_t           loudspk;  /**< Audio routed to loudspeaker.*/ 
     47     
     48} pjmedia_snd_aps_setting; 
     49 
     50 
     51/** 
    3452 * Activate/deactivate loudspeaker, when loudspeaker is inactive, audio 
    3553 * will be routed to earpiece. 
     
    4866 
    4967 
     68/** 
     69 * Set a codec and its settings to be used on the next sound device session. 
     70 * 
     71 * @param setting       APS sound device setting, see @pjmedia_snd_aps_setting. 
     72 * 
     73 * @return              PJ_SUCCESS on success. 
     74 */ 
     75PJ_DECL(pj_status_t) pjmedia_snd_aps_modify_setting( 
     76                                    const pjmedia_snd_aps_setting *setting); 
     77 
     78 
    5079PJ_END_DECL 
    5180 
Note: See TracChangeset for help on using the changeset viewer.