]> Repos - portaudio/commitdiff
Revert paqa_devs
authorPhil Burk <philburk@mobileer.com>
Sun, 22 May 2016 00:30:21 +0000 (17:30 -0700)
committerPhil Burk <philburk@mobileer.com>
Sun, 22 May 2016 00:30:21 +0000 (17:30 -0700)
qa/paqa_devs.c

index 5bfdaabef529552de245032ecbe5572e1e3b34bc..edf3071e7ce2eb8f1fa83dd15c980296852ba292 100644 (file)
@@ -231,7 +231,7 @@ static void TestDevices( int mode )
                                                               88200.0, 96000.0,
                                                -1.0 }; /* Negative terminated list. */
     int numDevices = Pa_GetDeviceCount();
-    for( id=3; id<numDevices; id++ )            /* Iterate through all devices. */
+    for( id=0; id<numDevices; id++ )            /* Iterate through all devices. */
     {
         pdi = Pa_GetDeviceInfo( id );
         /* Try 1 to maxChannels on each device. */
@@ -239,13 +239,13 @@ static void TestDevices( int mode )
         if( maxChannels > MAX_TEST_CHANNELS )
             maxChannels = MAX_TEST_CHANNELS;
         
-        for( jc=4; jc<=maxChannels; jc++ )
+        for( jc=1; jc<=maxChannels; jc++ )
         {
             printf("\n========================================================================\n");
             printf("            Device = %s\n", pdi->name );
             printf("========================================================================\n");
             /* Try each standard sample rate. */
-            for( i=9; standardSampleRates[i] > 0; i++ )
+            for( i=0; standardSampleRates[i] > 0; i++ )
             {
                 TestFormats( mode, (PaDeviceIndex)id, standardSampleRates[i], jc );
             }