Changeset 4150


Ignore:
Timestamp:
Jun 1, 2012 4:29:56 AM (13 years ago)
Author:
ming
Message:

Fixed #1521: Add initial support for BlackBerry? 10 (BB10) platform.

Please visit http://trac.pjsip.org/repos/wiki/Getting-Started/BB10 for more details on how to build for BB10.

Location:
pjproject/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/build/Makefile

    r4050 r4150  
    8282export PJMEDIA_AUDIODEV_OBJS +=  audiodev.o audiotest.o errno.o \ 
    8383                                 coreaudio_dev.o legacy_dev.o null_dev.o pa_dev.o wmme_dev.o \ 
    84                                  alsa_dev.o 
     84                                 alsa_dev.o bb10_dev.o 
    8585export PJMEDIA_AUDIODEV_CFLAGS += $(_CFLAGS) 
    8686 
  • pjproject/trunk/pjmedia/include/pjmedia-audiodev/config.h

    r3841 r4150  
    5858#endif 
    5959 
     60/** 
     61 * This setting controls whether BlackBerry 10 (BB10) audio support 
     62 * should be included. 
     63 */ 
     64#ifndef PJMEDIA_AUDIO_DEV_HAS_BB10 
     65#   define PJMEDIA_AUDIO_DEV_HAS_BB10           0 
     66#endif 
    6067 
    6168/** 
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/audiodev.c

    r3841 r4150  
    7979#endif 
    8080 
     81#if PJMEDIA_AUDIO_DEV_HAS_BB10 
     82pjmedia_aud_dev_factory* pjmedia_bb10_factory(pj_pool_factory *pf); 
     83#endif 
     84 
    8185#if PJMEDIA_AUDIO_DEV_HAS_WMME 
    8286pjmedia_aud_dev_factory* pjmedia_wmme_factory(pj_pool_factory *pf); 
     
    388392 
    389393    /* Register creation functions */ 
     394#if PJMEDIA_AUDIO_DEV_HAS_BB10 
     395    aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_bb10_factory; 
     396#endif 
    390397#if PJMEDIA_AUDIO_DEV_HAS_ALSA 
    391398    aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_alsa_factory; 
Note: See TracChangeset for help on using the changeset viewer.