From: philburk Date: Tue, 7 May 2002 15:40:40 +0000 (+0000) Subject: More informative DBUG statement. X-Git-Tag: v19-devel-pre-restructure~24 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=d5b636eea7eaf9ec089f12b29ba037540c3622c9;p=portaudio More informative DBUG statement. --- 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",