[beast] PORTAUDIO: make portaudio driver compile on linux.



commit 7f65180c75e7b9c65535685542fe1c9f8286f351
Author: Stefan Westerfeld <stefan space twc de>
Date:   Tue Mar 9 11:08:58 2010 +0100

    PORTAUDIO: make portaudio driver compile on linux.

 drivers/bse-portaudio/autogen.sh                |    9 ---------
 drivers/bse-portaudio/bsepcmdevice-portaudio.cc |    4 ++--
 2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/drivers/bse-portaudio/autogen.sh b/drivers/bse-portaudio/autogen.sh
index ab2da83..385e8e7 100755
--- a/drivers/bse-portaudio/autogen.sh
+++ b/drivers/bse-portaudio/autogen.sh
@@ -7,7 +7,6 @@ FILE=bsepcmdevice-portaudio.cc
 AUTOMAKE=automake
 AUTOMAKE_POSTFIX=1.9
 AUTOMAKE_VERSION=1.9
-AUTOMAKE_MAXVERSION=1.9
 ACLOCAL=aclocal
 AUTOCONF=autoconf
 AUTOCONF_POSTFIX=2.50
@@ -79,14 +78,6 @@ else
 	DIE=1
 fi
 
-# due to automake release incompatibilities, check max-version
-check_version $AUTOMAKE_MAXVERSION.9999 "`$AUTOMAKE --version 2>/dev/null | sed 1q`" || {
-	echo "You need to have $AUTOMAKE (version <= $AUTOMAKE_MAXVERSION) installed to compile $PROJECT."
-	echo "Download the appropriate package for your distribution,"
-	echo "or get the source tarball at http://ftp.gnu.org/gnu/automake";
-	DIE=1
-}
-
 # check for autoconf
 if check_version "`$AUTOCONF --version 2>/dev/null | sed 1q`" $AUTOCONF_VERSION ; then
 	:	# all fine
diff --git a/drivers/bse-portaudio/bsepcmdevice-portaudio.cc b/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
index 6bf58bd..05d1a4f 100644
--- a/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
+++ b/drivers/bse-portaudio/bsepcmdevice-portaudio.cc
@@ -29,7 +29,7 @@ using std::string;
 using std::vector;
 using std::max;
 
-static BIRNET_MSG_TYPE_DEFINE (debug_pcm, "pcm", BIRNET_MSG_DEBUG, NULL);
+static SFI_MSG_TYPE_DEFINE (debug_pcm, "pcm", SFI_MSG_DEBUG, NULL);
 #define DEBUG(...) sfi_debug (debug_pcm, __VA_ARGS__)
 
 
@@ -54,7 +54,7 @@ static guint            port_audio_device_latency             (BsePcmHandle
 /* --- define object type and export to BSE --- */
 static const char type_blurb[] = ("PCM driver implementation using PortAudio (http://www.portaudio.com)");
 BSE_REGISTER_OBJECT (BsePcmDevicePortAudio, BsePcmDevice, NULL, "", type_blurb, NULL, bse_pcm_device_port_audio_class_init, NULL, bse_pcm_device_port_audio_init);
-BSE_DEFINE_EXPORTS (__FILE__);
+BSE_DEFINE_EXPORTS();
 
 /* --- variables --- */
 static gpointer parent_class = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]