Update of /cvsroot/audacity/lib-src/portmixer
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv27584/portmixer

Modified Files:
        configure configure.ac portaudio.patch 
Log Message:

Update portaudio to 2007-jun-01 snapshot


Index: portaudio.patch
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/portaudio.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- portaudio.patch     2 Oct 2006 00:27:52 -0000       1.1
+++ portaudio.patch     3 Jun 2007 08:30:36 -0000       1.2
@@ -1,129 +1,840 @@
-diff -wruN orig/pa/configure pa/configure
---- configure  2006-09-04 17:47:10.000000000 -0500
-+++ configure  2006-09-04 18:02:35.000000000 -0500
-@@ -20432,7 +20432,7 @@
- #define PA_USE_COREAUDIO 1
- _ACEOF
- 
--      OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o 
src/hostapi/coreaudio/pa_mac_core.o";
-+      OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o 
src/hostapi/coreaudio/pa_mac_core.o 
src/hostapi/coreaudio/pa_mac_core_blocking.o 
src/hostapi/coreaudio/pa_mac_core_utilities.o 
src/hostapi/coreaudio/ringbuffer.o";
-       LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit 
-framework Carbon";
-       PADLL="libportaudio.dylib";
[...1230 lines suppressed...]
+--- pa/src/hostapi/oss/pa_unix_oss.c   2007-06-03 05:55:58.000000000 -0500
++++ pam/src/hostapi/oss/pa_unix_oss.c  2007-06-03 06:41:57.000000000 -0500
+@@ -1942,3 +1942,26 @@
      return (PaOssStreamComponent_BufferSize( stream->playback ) - delay) / 
PaOssStreamComponent_FrameSize( stream->playback );
  }
  
-+const char *PaOSS_GetInputDevice( PaStream* s )
++const char *PaOSS_GetStreamInputDevice( PaStream* s )
 +{
 +    PaOssStream *stream = (PaOssStream*)s;
 +
@@ -512,7 +1226,7 @@
 +   return NULL;
 +}
 +
-+const char *PaOSS_GetOutputDevice( PaStream* s )
++const char *PaOSS_GetStreamOutputDevice( PaStream* s )
 +{
 +    PaOssStream *stream = (PaOssStream*)s;
 +

Index: configure.ac
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/configure.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- configure.ac        2 Oct 2006 00:27:51 -0000       1.1
+++ configure.ac        3 Jun 2007 08:30:36 -0000       1.2
@@ -53,10 +53,11 @@
 #
 have_support=yes
 AC_EGREP_HEADER([PaWinDS_GetStreamInputGUID], [pa_win_ds.h], , 
[have_support=no])
-AC_EGREP_HEADER([PaAlsa_GetInputCard], [pa_linux_alsa.h], , [have_support=no])
+AC_EGREP_HEADER([PaAlsa_GetStreamInputCard], [pa_linux_alsa.h], , 
[have_support=no])
 AC_EGREP_HEADER([PaWinMME_GetStreamInputHandle], [pa_win_wmme.h], , 
[have_support=no])
 AC_EGREP_HEADER([PaMacCore_GetStreamInputDevice], [pa_mac_core.h], , 
[have_support=no])
-AC_EGREP_HEADER([PaOSS_GetInputDevice], [pa_unix_oss.h], , [have_support=no])
+AC_EGREP_HEADER([PaOSS_GetStreamInputDevice], [pa_unix_oss.h], , 
[have_support=no])
+AC_EGREP_HEADER([Pa_GetStreamHostApiType], [portaudio.h], , [have_support=no])
 if [[ $have_support = "no" ]] ; then
    AC_MSG_ERROR("You're version of portaudio does not include required 
functions"); 
 fi

Index: configure
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/configure,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure   20 Oct 2006 10:32:05 -0000      1.2
+++ configure   3 Jun 2007 08:30:36 -0000       1.3
@@ -952,7 +952,7 @@
     else
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     fi
-    cd "$ac_popdir"
+    cd $ac_popdir
   done
 fi
 
@@ -1884,7 +1884,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -1942,7 +1943,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2058,7 +2060,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2112,7 +2115,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2157,7 +2161,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2201,7 +2206,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2653,7 +2659,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2855,7 +2862,7 @@
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "PaAlsa_GetInputCard" >/dev/null 2>&1; then
+  $EGREP "PaAlsa_GetStreamInputCard" >/dev/null 2>&1; then
   :
 else
   have_support=no
@@ -2906,7 +2913,24 @@
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "PaOSS_GetInputDevice" >/dev/null 2>&1; then
+  $EGREP "PaOSS_GetStreamInputDevice" >/dev/null 2>&1; then
+  :
+else
+  have_support=no
+fi
+rm -f conftest*
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <portaudio.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "Pa_GetStreamHostApiType" >/dev/null 2>&1; then
   :
 else
   have_support=no
@@ -2968,7 +2992,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3031,7 +3056,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3174,7 +3200,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3317,7 +3344,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s 
conftest.err'
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -4284,6 +4312,11 @@
 
 
 
+  if test x"$ac_file" != x-; then
+    { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+    rm -f "$ac_file"
+  fi
   # Let's still pretend it is `configure' which instantiates (i.e., don't
   # use $as_me), people would be surprised to read:
   #    /* config.h.  Generated by config.status.  */
@@ -4322,12 +4355,6 @@
         fi;;
       esac
     done` || { (exit 1); exit 1; }
-
-  if test x"$ac_file" != x-; then
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
-    rm -f "$ac_file"
-  fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
   sed "$ac_vpsub


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to