Ignore:
Timestamp:
Sep 24, 2019 11:12:45 AM (3 years ago)
Author:
nanang
Message:

Close #2233: Changed enumeration approach in SWIG Java to type-unsafe enums.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/symbols.i

    r6001 r6075  
    201201  PJ_TURN_TP_UDP = 17, 
    202202  PJ_TURN_TP_TCP = 6, 
    203   PJ_TURN_TP_TLS = 255 
     203  PJ_TURN_TP_TLS = 56 
    204204} pj_turn_tp_type; 
    205205 
     
    234234  PJMEDIA_EVENT_ORIENT_CHANGED = ((('T' << 24) | ('N' << 16)) | ('R' << 8)) | 'O', 
    235235  PJMEDIA_EVENT_RX_RTCP_FB = ((('B' << 24) | ('F' << 16)) | ('T' << 8)) | 'R', 
    236   PJMEDIA_EVENT_AUD_DEV_ERROR = ((('R' << 24) | ('R' << 16)) | ('E' << 8)) | 'A' 
     236  PJMEDIA_EVENT_AUD_DEV_ERROR = ((('R' << 24) | ('R' << 16)) | ('E' << 8)) | 'A', 
     237  PJMEDIA_EVENT_VID_DEV_ERROR = ((('R' << 24) | ('R' << 16)) | ('E' << 8)) | 'V', 
     238  PJMEDIA_EVENT_MEDIA_TP_ERR = ((('R' << 24) | ('R' << 16)) | ('E' << 8)) | 'T' 
    237239} pjmedia_event_type; 
    238240 
     
    827829typedef enum pjsua_snd_dev_id 
    828830{ 
    829   PJSUA_SND_DEFAULT_CAPTURE_DEV = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV, 
    830   PJSUA_SND_DEFAULT_PLAYBACK_DEV = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV, 
    831   PJSUA_SND_NO_DEV = PJMEDIA_AUD_INVALID_DEV, 
     831  PJSUA_SND_DEFAULT_CAPTURE_DEV = -1, 
     832  PJSUA_SND_DEFAULT_PLAYBACK_DEV = -2, 
     833  PJSUA_SND_NO_DEV = -3, 
    832834  PJSUA_SND_NULL_DEV = -99 
    833835} pjsua_snd_dev_id; 
Note: See TracChangeset for help on using the changeset viewer.