Ignore:
Timestamp:
Oct 13, 2006 5:57:42 PM (18 years ago)
Author:
bennylp
Message:

Updated PortAudio? to latest version for Mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r751 r770  
    244244              ) 
    245245 
     246AC_SUBST(ac_pa_cflags) 
    246247if test "$enable_sound" = "no"; then 
    247248  true; 
     
    249250 case $target in 
    250251  *darwin*) 
    251         ac_pjmedia_snd=pa_darwinos 
    252         AC_MSG_RESULT([Checking sound device backend... coreaudio]) 
    253         LIBS="$LIBS -framework CoreAudio" 
     252        LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" 
     253        if test "`uname -r`" = "6.8"; then 
     254                #ac_pa_cflags="-DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" 
     255                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
     256                ac_pjmedia_snd=pa_old_darwinos 
     257                AC_MSG_RESULT([Checking sound device backend... old coreaudio]) 
     258        else 
     259                ac_pjmedia_snd=pa_darwinos 
     260                AC_MSG_RESULT([Checking sound device backend... coreaudio]) 
     261        fi 
    254262        ;; 
    255263  *cygwin* | *mingw*) 
Note: See TracChangeset for help on using the changeset viewer.