From d5b636eea7eaf9ec089f12b29ba037540c3622c9 Mon Sep 17 00:00:00 2001 From: philburk Date: Tue, 7 May 2002 15:40:40 +0000 Subject: [PATCH] More informative DBUG statement. --- pa_common/pa_lib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pa_common/pa_lib.c b/pa_common/pa_lib.c index 1c6e82f..3df5ec5 100644 --- a/pa_common/pa_lib.c +++ b/pa_common/pa_lib.c @@ -70,8 +70,8 @@ O- maybe not allocate past_InputBuffer and past_OutputBuffer if not needed for c #define PRINT(x) { printf x; fflush(stdout); } #define ERR_RPT(x) PRINT(x) -#define DBUG(x) /* PRINT(x) */ -#define DBUGX(x) /* PRINT(x) */ +#define DBUG(x) /* PRINT(x) /**/ +#define DBUGX(x) /* PRINT(x) /**/ static int gInitCount = 0; /* Count number of times Pa_Initialize() called to allow nesting and overlapping. */ @@ -152,10 +152,10 @@ PaError Pa_OpenStream( int bitsPerInputSample; int bitsPerOutputSample; /* Print passed parameters. */ - DBUG(("Pa_OpenStream( %p, %d, %d, %d, %p, /* input */ \n", + DBUG(("Pa_OpenStream( %p, dev=%d, numChan=%d, format=%d, info=%p, /* input */ \n", streamPtrPtr, inputDeviceID, numInputChannels, inputSampleFormat, inputDriverInfo )); - DBUG((" %d, %d, %d, %p, /* output */\n", + DBUG((" dev=%d, numChan=%d, format=%d, info=%p, /* output */\n", outputDeviceID, numOutputChannels, outputSampleFormat, outputDriverInfo )); DBUG((" %g, %d, %d, 0x%x, , %p )\n", -- 2.43.0