Ignore:
Timestamp:
Mar 11, 2011 6:57:24 AM (11 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/legacy_dev.c

    r2506 r3438  
    5252static pj_status_t factory_init(pjmedia_aud_dev_factory *f); 
    5353static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); 
     54static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); 
    5455static unsigned    factory_get_dev_count(pjmedia_aud_dev_factory *f); 
    5556static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f,  
     
    8788    &factory_get_dev_info, 
    8889    &factory_default_param, 
    89     &factory_create_stream 
     90    &factory_create_stream, 
     91    &factory_refresh 
    9092}; 
    9193 
     
    146148 
    147149    return status; 
     150} 
     151 
     152/* API: refresh the list of devices */ 
     153static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) 
     154{ 
     155    PJ_UNUSED_ARG(f); 
     156    return PJ_ENOTSUP; 
    148157} 
    149158 
Note: See TracChangeset for help on using the changeset viewer.