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/src/pjmedia-audiodev/symb_mda_dev.cpp

    r2777 r3438  
    8686static pj_status_t factory_init(pjmedia_aud_dev_factory *f); 
    8787static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); 
     88static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); 
    8889static unsigned    factory_get_dev_count(pjmedia_aud_dev_factory *f); 
    8990static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f,  
     
    121122    &factory_get_dev_info, 
    122123    &factory_default_param, 
    123     &factory_create_stream 
     124    &factory_create_stream, 
     125    &factory_refresh 
    124126}; 
    125127 
     
    833835     
    834836    return PJ_SUCCESS; 
     837} 
     838 
     839/* API: refresh the device list */ 
     840static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) 
     841{ 
     842    PJ_UNUSED_ARG(f); 
     843    return PJ_ENOTSUP; 
    835844} 
    836845 
Note: See TracChangeset for help on using the changeset viewer.