Changeset 3841 for pjproject/trunk/pjmedia/src/pjmedia-audiodev/audiodev.c
- Timestamp:
- Oct 24, 2011 9:28:13 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/audiodev.c
r3664 r3841 491 491 --aud_subsys.init_count; 492 492 493 for (i=0; i<aud_subsys.drv_cnt; ++i) { 494 deinit_driver(i); 495 } 496 497 aud_subsys.pf = NULL; 493 if (aud_subsys.init_count == 0) { 494 for (i=0; i<aud_subsys.drv_cnt; ++i) { 495 deinit_driver(i); 496 } 497 498 aud_subsys.pf = NULL; 499 } 498 500 return PJ_SUCCESS; 499 501 }
Note: See TracChangeset
for help on using the changeset viewer.