From: rossb Date: Thu, 28 Jul 2011 05:47:22 +0000 (+0000) Subject: paqa_latency: tweak parameter printing X-Git-Tag: pa_stable_v19_20111121_r1788~56 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=8a27b956172d8321ef60f940b301a0239fe0dbb8;p=portaudio paqa_latency: tweak parameter printing --- diff --git a/qa/paqa_latency.c b/qa/paqa_latency.c index 40c93f6..3a45cdf 100644 --- a/qa/paqa_latency.c +++ b/qa/paqa_latency.c @@ -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.