Ignore:
Timestamp:
May 10, 2010 9:05:19 AM (10 years ago)
Author:
bennylp
Message:

Ref #1068 (misc fixes): added facility to change device ID at run time in pjsystest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsystest/systest.h

    r2991 r3163  
    2525 * Overrideable parameters 
    2626 */ 
    27 #define REC_DEV_ID                      PJMEDIA_AUD_DEFAULT_CAPTURE_DEV 
    28 #define PLAY_DEV_ID                     PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV 
     27#define REC_DEV_ID                      systest_cap_dev_id 
     28#define PLAY_DEV_ID                     systest_play_dev_id 
    2929//#define REC_DEV_ID                    5 
    3030//#define PLAY_DEV_ID                   5 
     
    7575void        systest_deinit(void); 
    7676 
     77/* Device ID to test */ 
     78extern int systest_cap_dev_id; 
     79extern int systest_play_dev_id; 
     80 
    7781/* Test item is used to record the test result */ 
    7882typedef struct test_item_t 
Note: See TracChangeset for help on using the changeset viewer.