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

    r3404 r3438  
    107107static pj_status_t  pa_init(pjmedia_aud_dev_factory *f); 
    108108static pj_status_t  pa_destroy(pjmedia_aud_dev_factory *f); 
     109static pj_status_t  pa_refresh(pjmedia_aud_dev_factory *f); 
    109110static unsigned     pa_get_dev_count(pjmedia_aud_dev_factory *f); 
    110111static pj_status_t  pa_get_dev_info(pjmedia_aud_dev_factory *f,  
     
    142143    &pa_get_dev_info, 
    143144    &pa_default_param, 
    144     &pa_create_stream 
     145    &pa_create_stream, 
     146    &pa_refresh     
    145147}; 
    146148 
     
    485487     
    486488    return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; 
     489} 
     490 
     491 
     492/* API: Refresh the device list. */ 
     493static pj_status_t pa_refresh(pjmedia_aud_dev_factory *f) 
     494{ 
     495    PJ_UNUSED_ARG(f); 
     496    return PJ_ENOTSUP; 
    487497} 
    488498 
Note: See TracChangeset for help on using the changeset viewer.