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/null_dev.c

    r3103 r3438  
    6060static pj_status_t null_factory_init(pjmedia_aud_dev_factory *f); 
    6161static pj_status_t null_factory_destroy(pjmedia_aud_dev_factory *f); 
     62static pj_status_t null_factory_refresh(pjmedia_aud_dev_factory *f); 
    6263static unsigned    null_factory_get_dev_count(pjmedia_aud_dev_factory *f); 
    6364static pj_status_t null_factory_get_dev_info(pjmedia_aud_dev_factory *f, 
     
    9495    &null_factory_get_dev_info, 
    9596    &null_factory_default_param, 
    96     &null_factory_create_stream 
     97    &null_factory_create_stream, 
     98    &null_factory_refresh 
    9799}; 
    98100 
     
    164166    pj_pool_release(pool); 
    165167 
     168    return PJ_SUCCESS; 
     169} 
     170 
     171/* API: refresh the list of devices */ 
     172static pj_status_t null_factory_refresh(pjmedia_aud_dev_factory *f) 
     173{ 
     174    PJ_UNUSED_ARG(f); 
    166175    return PJ_SUCCESS; 
    167176} 
Note: See TracChangeset for help on using the changeset viewer.