]> Repos - portaudio/commitdiff
paqa_latency: tweak parameter printing
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 28 Jul 2011 05:47:22 +0000 (05:47 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 28 Jul 2011 05:47:22 +0000 (05:47 +0000)
qa/paqa_latency.c

index 40c93f64a752bd68bf2c9b78f37e245eb416a95a..3a45cdfec0029e4a79a13e8590c0a65cd8c43a7c 100644 (file)
@@ -195,9 +195,9 @@ int main(void)
     outputParameters.channelCount = 2;       /* stereo output */
     outputParameters.sampleFormat = paFloat32; /* 32 bit floating point output */
     deviceInfo = Pa_GetDeviceInfo( outputParameters.device );
-    printf("using device #%d: '%s' (%s)\n", outputParameters.device, deviceInfo->name, Pa_GetHostApiInfo(deviceInfo->hostApi)->name);
-    printf("defaultLowOutputLatency  = %f seconds\n", deviceInfo->defaultLowOutputLatency);
-    printf("defaultHighOutputLatency = %f seconds\n", deviceInfo->defaultHighOutputLatency);
+    printf("Using device #%d: '%s' (%s)\n", outputParameters.device, deviceInfo->name, Pa_GetHostApiInfo(deviceInfo->hostApi)->name);
+    printf("Device info: defaultLowOutputLatency  = %f seconds\n", deviceInfo->defaultLowOutputLatency);
+    printf("Device info: defaultHighOutputLatency = %f seconds\n", deviceInfo->defaultHighOutputLatency);
     outputParameters.hostApiSpecificStreamInfo = NULL;
     
     // Try to use a small buffer that is smaller than we think the device can handle.