From 55e1b54992696c1b80cb705b78b90ad99ab8e8da Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 22 Feb 2013 05:15:11 +0200 Subject: typo fix --- sound_detector/main.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sound_detector/main.cpp') diff --git a/sound_detector/main.cpp b/sound_detector/main.cpp index c4792e2..fb376c8 100644 --- a/sound_detector/main.cpp +++ b/sound_detector/main.cpp @@ -308,11 +308,13 @@ int main(int argc, char **argv) { break; case 'l': - for(PaDeviceIndex i =0, end = Pa_GetDeviceCount(); i < end; i++) { - const PaDeviceInfo *info = Pa_GetDeviceInfo(i); - printf("%d. %s, input channels %d, output channels %d, default sample rate %f, lowest input latency %f, highest input latency %f\n", - i, info->name, info->maxInputChannels, info->maxOutputChannels, info->defaultSampleRate, info->defaultLowInputLatency, info->defaultHighInputLatency); + for(PaDeviceIndex i =0, end = Pa_GetDeviceCount(); i < end; i++) + { + const PaDeviceInfo *info = Pa_GetDeviceInfo(i); + printf("%d. %s, input channels %d, output channels %d, default sample rate %f, lowest input latency %f, highest input latency %f\n", + i, info->name, info->maxInputChannels, info->maxOutputChannels, info->defaultSampleRate, info->defaultLowInputLatency, info->defaultHighInputLatency); + } exit(0); } break; -- cgit v1.2.3