1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
From: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Subject: avoid PaUtil_DebugPrint defined in multiple locations -- reuse pa_debugprint.o
Origin: PTB-3
--- a/portaudio/Makefile.in
+++ b/portaudio/Makefile.in
@@ -49,6 +49,7 @@ COMMON_OBJS = \
src/common/pa_cpuload.o \
src/common/pa_dither.o \
src/common/pa_front.o \
+ src/common/pa_debugprint.o \
src/common/pa_process.o \
src/common/pa_skeleton.o \
src/common/pa_stream.o \
--- a/portaudio/src/common/pa_front.c
+++ b/portaudio/src/common/pa_front.c
@@ -158,7 +158,8 @@ void PaUtil_SetLastHostErrorInfo( PaHost
strncpy( lastHostErrorText_, errorText, PA_LAST_HOST_ERROR_TEXT_LENGTH_ );
}
-
+/*
+MK CHANGED PTB - Already defined in pa_debugprint
void PaUtil_DebugPrint( const char *format, ... )
{
va_list ap;
@@ -169,7 +170,7 @@ void PaUtil_DebugPrint( const char *form
fflush( stderr );
}
-
+*/
static PaUtilHostApiRepresentation **hostApis_ = 0;
static int hostApisCount_ = 0;
|