Ignore:
Timestamp:
Feb 21, 2009 2:21:59 PM (15 years ago)
Author:
bennylp
Message:

Updated libraries and applications to use the new Audio Device API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjsip/include/pjsua-lib/pjsua.h

    r2460 r2468  
    42014201    unsigned            ec_tail_len; 
    42024202 
     4203    /** 
     4204     * Audio capture buffer length, in milliseconds. 
     4205     * 
     4206     * Default: PJMEDIA_SND_DEFAULT_REC_LATENCY 
     4207     */ 
     4208    unsigned            snd_rec_latency; 
     4209 
     4210    /** 
     4211     * Audio playback buffer length, in milliseconds. 
     4212     * 
     4213     * Default: PJMEDIA_SND_DEFAULT_PLAY_LATENCY 
     4214     */ 
     4215    unsigned            snd_play_latency; 
     4216 
    42034217    /**  
    42044218     * Jitter buffer initial prefetch delay in msec. The value must be 
     
    48054819 * 
    48064820 */ 
     4821#if PJMEDIA_AUDIO_API==PJMEDIA_AUDIO_API_NEW_ONLY 
     4822PJ_DECL(pj_status_t) pjsua_enum_snd_devs(pjmedia_aud_dev_info info[], 
     4823                                         unsigned *count); 
     4824#else 
    48074825PJ_DECL(pj_status_t) pjsua_enum_snd_devs(pjmedia_snd_dev_info info[], 
    48084826                                         unsigned *count); 
    4809  
     4827#endif 
    48104828 
    48114829 
     
    48804898 
    48814899/** 
    4882  * Configure the echo canceller tail length of the sound port. 
     4900 * Change the echo cancellation settings. The behavior of this function  
     4901 * depends on whether the sound device is currently active, and if it is, 
     4902 * whether device or software AEC is being used.  
     4903 * 
     4904 * If the sound device is currently active, and if the device supports AEC, 
     4905 * this function will forward the change request to the device and it will 
     4906 * be up to the device on whether support the request. If software AEC is 
     4907 * being used (the software EC will be used if the device does not support 
     4908 * AEC), this function will change the software EC settings. In all cases, 
     4909 * the setting will be saved for future opening of the sound device. 
     4910 * 
     4911 * If the sound device is not currently active, this will only change the 
     4912 * default AEC settings and the setting will be applied next time the  
     4913 * sound device is opened. 
    48834914 * 
    48844915 * @param tail_ms       The tail length, in miliseconds. Set to zero to 
     
    49114942 */ 
    49124943PJ_DECL(pj_status_t) pjsua_get_ec_tail(unsigned *p_tail_ms); 
    4913  
    4914  
    4915 /** 
    4916  * Set sound device route. 
    4917  * 
    4918  * @param route         Sound device route to be set. 
    4919  * 
    4920  * @return              PJ_SUCCESS on success, or the appropriate error code. 
    4921  */ 
    4922 PJ_DECL(pj_status_t) pjsua_set_snd_route(pjmedia_snd_route route); 
    49234944 
    49244945 
Note: See TracChangeset for help on using the changeset viewer.