Changeset 949


Ignore:
Timestamp:
Feb 16, 2007 9:22:56 AM (17 years ago)
Author:
bennylp
Message:

Ticket #102: use PJSUA_MAX_PLAYERS and PJSUA_MAX_RECORDERS instead of hardcoded value in pjsua

Location:
pjproject/trunk/pjsip/include/pjsua-lib
Files:
2 edited

Legend:

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

    r925 r949  
    33753375 
    33763376/** 
     3377 * The maximum file player. 
     3378 */ 
     3379#ifndef PJSUA_MAX_PLAYERS 
     3380#   define PJSUA_MAX_PLAYERS            32 
     3381#endif 
     3382 
     3383 
     3384/** 
     3385 * The maximum file player. 
     3386 */ 
     3387#ifndef PJSUA_MAX_RECORDERS 
     3388#   define PJSUA_MAX_RECORDERS          32 
     3389#endif 
     3390 
     3391 
     3392/** 
    33773393 * This structure describes media configuration, which will be specified 
    33783394 * when calling #pjsua_init(). Application MUST initialize this structure 
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r895 r949  
    217217    /* File players: */ 
    218218    unsigned             player_cnt;/**< Number of file players.        */ 
    219     pjsua_file_data      player[32];/**< Array of players.              */ 
     219    pjsua_file_data      player[PJSUA_MAX_PLAYERS];/**< Array of players.*/ 
    220220 
    221221    /* File recorders: */ 
    222222    unsigned             rec_cnt;   /**< Number of file recorders.      */ 
    223     pjsua_file_data      recorder[32];/**< Array of file recorders.     */ 
     223    pjsua_file_data      recorder[PJSUA_MAX_RECORDERS];/**< Array of recs.*/ 
    224224}; 
    225225 
Note: See TracChangeset for help on using the changeset viewer.