Ignore:
Timestamp:
Feb 22, 2009 5:15:34 PM (15 years ago)
Author:
bennylp
Message:
  • Added pjmedia-audiodev/config.h
  • Added a bit of doxygen documentation
  • Added support for PCMA/PCMU codecs in wmme_dev.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/audiodev.c

    r2469 r2470  
    2121#include <pj/errno.h> 
    2222#include <pj/log.h> 
     23#include <pj/pool.h> 
    2324#include <pj/string.h> 
    2425 
     
    6364 
    6465/* extern functions to create factories */ 
     66#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 
    6567pjmedia_aud_dev_factory* pjmedia_pa_factory(pj_pool_factory *pf); 
     68#endif 
     69 
     70#if PJMEDIA_AUDIO_DEV_HAS_WMME 
    6671pjmedia_aud_dev_factory* pjmedia_wmme_factory(pj_pool_factory *pf); 
     72#endif 
     73 
    6774 
    6875#define MAX_DRIVERS     16 
     
    219226 
    220227    /* Register creation functions */ 
     228#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 
    221229    aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_pa_factory; 
     230#endif 
     231#if PJMEDIA_AUDIO_DEV_HAS_WMME 
    222232    aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_wmme_factory; 
     233#endif 
    223234 
    224235    /* Initialize each factory and build the device ID list */ 
Note: See TracChangeset for help on using the changeset viewer.