Changeset 3164


Ignore:
Timestamp:
May 10, 2010 9:51:02 AM (15 years ago)
Author:
bennylp
Message:

Added systest function to select which audio device to use (re #1068: misc fixes)

Location:
pjproject/trunk/pjsip-apps/src/pjsystest
Files:
2 edited

Legend:

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

    r3163 r3164  
    11091109 
    11101110 
     1111int systest_set_dev(int cap_dev, int play_dev) 
     1112{ 
     1113    systest.rec_id = systest_cap_dev_id = cap_dev; 
     1114    systest.play_id = systest_play_dev_id = play_dev; 
     1115    return pjsua_set_snd_dev(cap_dev, play_dev); 
     1116} 
     1117 
    11111118static void systest_wizard(void) 
    11121119{ 
  • pjproject/trunk/pjsip-apps/src/pjsystest/systest.h

    r3163 r3164  
    7171/* API, to be called by main() */ 
    7272int         systest_init(void); 
     73int         systest_set_dev(int cap_dev, int play_dev); 
    7374int         systest_run(void); 
    7475void        systest_save_result(const char *filename); 
Note: See TracChangeset for help on using the changeset viewer.