Ignore:
Timestamp:
Mar 10, 2016 5:02:07 AM (5 years ago)
Author:
ming
Message:

Fixed #1907: Remove pjmedia* circular dependency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/sound.h

    r5201 r5255  
    141141 * @return              Zero on success. 
    142142 */ 
    143 PJ_DECL(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory); 
    144  
     143PJ_INLINE(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory) 
     144{ 
     145    /* This function is inlined to avoid pjmedia's dependency on 
     146     * pjmedia-audiodev. 
     147     */ 
     148    return pjmedia_aud_subsys_init(factory); 
     149} 
    145150 
    146151/** 
     
    324329 * @return              Zero on success. 
    325330 */ 
    326 PJ_DECL(pj_status_t) pjmedia_snd_deinit(void); 
     331PJ_INLINE(pj_status_t) pjmedia_snd_deinit(void) 
     332{ 
     333    /* This function is inlined to avoid pjmedia's dependency on 
     334     * pjmedia-audiodev. 
     335     */ 
     336    return pjmedia_aud_subsys_shutdown(); 
     337} 
    327338 
    328339 
Note: See TracChangeset for help on using the changeset viewer.