Ignore:
Timestamp:
May 23, 2019 1:57:48 PM (2 years ago)
Author:
riza
Message:

Re #2147 (misc): Avoid swig error caused by pjsua_snd_dev_id enum definition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/audiodev.h

    r5677 r6001  
    5050 * Device index constants. 
    5151 */ 
    52 typedef enum pjmedia_aud_dev_id 
    53 { 
    54     /**  
    55      * Constant to denote default capture device  
    56      */ 
    57     PJMEDIA_AUD_DEFAULT_CAPTURE_DEV = -1, 
    58  
    59     /**  
    60      * Constant to denote default playback device  
    61      */ 
    62     PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV = -2, 
    63  
    64     /** 
    65      * Constant to denote invalid device index. 
    66      */ 
    67     PJMEDIA_AUD_INVALID_DEV = -3 
    68 } pjmedia_aud_dev_id; 
    69  
     52 
     53/** 
     54 * Constant to denote default capture device 
     55 */ 
     56#define PJMEDIA_AUD_DEFAULT_CAPTURE_DEV  -1 
     57 
     58/** 
     59 * Constant to denote default playback device 
     60 */ 
     61#define PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV -2 
     62 
     63/** 
     64 * Constant to denote invalid device index. 
     65 */ 
     66#define PJMEDIA_AUD_INVALID_DEV     -3 
    7067 
    7168#define PJMEDIA_AUD_MAX_DRIVERS 16 
Note: See TracChangeset for help on using the changeset viewer.