Ignore:
Timestamp:
Mar 11, 2011 6:57:24 AM (13 years ago)
Author:
ming
Message:

Fixed #1204: Support for refreshing audio device list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-audiodev/audiodev.h

    r3327 r3438  
    544544PJ_DECL(pj_status_t) 
    545545pjmedia_aud_unregister_factory(pjmedia_aud_dev_factory_create_func_ptr adf); 
     546 
     547 
     548/** 
     549 * Refresh the list of sound devices installed in the system. This function 
     550 * will only refresh the list of audio device so all active audio streams will 
     551 * be unaffected. After refreshing the device list, application MUST make sure 
     552 * to update all index references to audio devices (i.e. all variables of type 
     553 * pjmedia_aud_dev_index) before calling any function that accepts audio device 
     554 * index as its parameter. 
     555 * 
     556 * @return              PJ_SUCCESS on successful operation or the appropriate 
     557 *                      error code. 
     558 */ 
     559PJ_DECL(pj_status_t) pjmedia_aud_dev_refresh(void); 
    546560 
    547561 
Note: See TracChangeset for help on using the changeset viewer.