Changeset 1116:c97579eb19a5 in mediastreamer2


Ignore:
Timestamp:
Jul 18, 2010 9:52:50 PM (3 years ago)
Author:
Jehan Monnier <jehan.monnier@…>
Branch:
default
Message:

add audiot unit base iPhone sound integration

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r1009 r1116  
    370370AM_CONDITIONAL(BUILD_MACAQSND, test x$macaqsnd = xtrue) 
    371371 
     372AC_ARG_ENABLE(iounit, 
     373      [  --enable-iounit    Turn on native apple iounit support (default=no)], 
     374      [case "${enableval}" in 
     375        yes) iounit=true ;; 
     376        no)  iounit=false ;; 
     377        *) AC_MSG_ERROR(bad value ${enableval} for --enable-iounit) ;; 
     378      esac],[iounit=false]) 
     379 
     380if test "$iounit" = "true"; then 
     381        AC_DEFINE(__MACIOUNIT_ENABLED__,1,[defined if native apple iounit support is available]) 
     382        iounit_enabled=true 
     383        found_sound=yes 
     384fi 
     385 
     386AM_CONDITIONAL(BUILD_MACIOUNIT, test x$iounit_enabled = xtrue) 
     387 
    372388AC_ARG_ENABLE(jack, 
    373389      [  --disable-jack    Disable jack support], 
  • include/mediastreamer2/allfilters.h

    r1009 r1116  
    9898        MS_ITC_SOURCE_ID, 
    9999        MS_EXT_DISPLAY_ID, 
    100         MS_H264_DEC_ID 
     100        MS_H264_DEC_ID, 
     101        MS_IOUNIT_READ_ID, 
     102        MS_IOUNIT_WRITE_ID, 
     103        MS_ANDROID_SOUND_READ_ID, 
     104        MS_ANDROID_SOUND_WRITE_ID 
    101105} MSFilterId; 
    102106 
  • src/Makefile.am

    r1009 r1116  
    8989endif 
    9090 
     91if BUILD_MACIOUNIT 
     92libmediastreamer_la_SOURCES+=msiounit.c 
     93endif 
     94 
    9195if BUILD_MACAQSND 
    9296libmediastreamer_la_SOURCES+=aqsnd.c 
  • src/mscommon.c

    r1113 r1116  
    436436#endif 
    437437 
     438#ifdef __MACIOUNIT_ENABLED__ 
     439extern MSSndCardDesc au_card_desc; 
     440#endif 
     441 
    438442static MSSndCardDesc * ms_snd_card_descs[]={ 
    439443#ifdef __ALSA_ENABLED__ 
     
    464468        &pulse_card_desc, 
    465469#endif 
    466         NULL 
     470#ifdef __MACIOUNIT_ENABLED__ 
     471        &au_card_desc, 
     472#endif 
     473NULL 
    467474}; 
    468475 
Note: See TracChangeset for help on using the changeset viewer.