Changeset 925 for pjproject/trunk
- Timestamp:
- Feb 1, 2007 7:25:50 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.c
r924 r925 8229 8229 pjsua_enum_snd_devs_doc 8230 8230 }, 8231 /*{8231 { 8232 8232 "get_snd_dev", py_pjsua_get_snd_dev, METH_VARARGS, 8233 8233 pjsua_get_snd_dev_doc 8234 }, */8234 }, 8235 8235 { 8236 8236 "set_snd_dev", py_pjsua_set_snd_dev, METH_VARARGS, -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r918 r925 4075 4075 * 4076 4076 * \par Python: 4077 * The function takes no argument and return a tuple:4077 * The function takes no argument and return an (integer,integer) tuple: 4078 4078 * \code 4079 4079 capture_dev, playback_dev = py_pjsua.get_snd_dev() -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r911 r925 1243 1243 1244 1244 /* 1245 * Get currently active sound devices. If sound devices has not been created 1246 * (for example when pjsua_start() is not called), it is possible that 1247 * the function returns PJ_SUCCESS with -1 as device IDs. 1248 */ 1249 PJ_DEF(pj_status_t) pjsua_get_snd_dev(int *capture_dev, 1250 int *playback_dev) 1251 { 1252 if (capture_dev) { 1253 *capture_dev = pjsua_var.cap_dev; 1254 } 1255 if (playback_dev) { 1256 *playback_dev = pjsua_var.play_dev; 1257 } 1258 1259 return PJ_SUCCESS; 1260 } 1261 1262 1263 /* 1245 1264 * Use null sound device. 1246 1265 */
Note: See TracChangeset
for help on using the changeset viewer.