Ignore:
Timestamp:
Mar 14, 2014 4:09:50 AM (10 years ago)
Author:
bennylp
Message:

Closed #1748: enhancements to WAV player API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4739 r4793  
    60726072 
    60736073/** 
     6074 * Get additional info about the file player. This operation is not valid 
     6075 * for playlist. 
     6076 * 
     6077 * @param port          The file player ID. 
     6078 * @param info          The info. 
     6079 * 
     6080 * @return              PJ_SUCCESS on success or the appropriate error code. 
     6081 */ 
     6082PJ_DECL(pj_status_t) pjsua_player_get_info(pjsua_player_id id, 
     6083                                           pjmedia_wav_player_info *info); 
     6084 
     6085 
     6086/** 
     6087 * Get playback position. This operation is not valid for playlist. 
     6088 * 
     6089 * @param id            The file player ID. 
     6090 * 
     6091 * @return              The current playback position, in samples. On error, 
     6092 *                      return the error code as negative value. 
     6093 */ 
     6094PJ_DECL(pj_ssize_t) pjsua_player_get_pos(pjsua_player_id id); 
     6095 
     6096/** 
    60746097 * Set playback position. This operation is not valid for playlist. 
    60756098 * 
     
    60826105PJ_DECL(pj_status_t) pjsua_player_set_pos(pjsua_player_id id, 
    60836106                                          pj_uint32_t samples); 
    6084  
    60856107 
    60866108/** 
Note: See TracChangeset for help on using the changeset viewer.