]> Repos - portaudio/commitdiff
More informative DBUG statement.
authorphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 7 May 2002 15:40:40 +0000 (15:40 +0000)
committerphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 7 May 2002 15:40:40 +0000 (15:40 +0000)
pa_common/pa_lib.c

index 1c6e82f811559f8f95e56636494ab5f070391aa7..3df5ec59c8495b57339e87dd26beb14fe8890d9f 100644 (file)
@@ -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",