Changeset 4776 for pjproject/trunk/pjsip/src/pjsua2/media.cpp
- Timestamp:
- Mar 4, 2014 4:25:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/media.cpp
r4771 r4776 471 471 { 472 472 pjmedia_aud_dev_info pj_info[MAX_DEV_COUNT]; 473 unsigned count ;473 unsigned count = MAX_DEV_COUNT; 474 474 475 475 PJSUA2_CHECK_EXPR( pjsua_enum_aud_devs(pj_info, &count) ); … … 477 477 pj_enter_critical_section(); 478 478 clearAudioDevList(); 479 for (unsigned i = 0; (i<count && i<MAX_DEV_COUNT);++i) {479 for (unsigned i = 0; i<count ;++i) { 480 480 AudioDevInfo *dev_info = new AudioDevInfo; 481 481 dev_info->fromPj(pj_info[i]);
Note: See TracChangeset
for help on using the changeset viewer.