]> Repos - portaudio/commitdiff
Changed some C++ comments (//) to C comments (/**/).
authorpieter <pieter@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 4 Jul 2002 05:05:34 +0000 (05:05 +0000)
committerpieter <pieter@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 4 Jul 2002 05:05:34 +0000 (05:05 +0000)
pa_tests/patest_latency.c

index 66820bcceb958b9559e5157c101bba9784d41fa5..30c8160d19047585887d1fb829f87cb6853ed1ac 100644 (file)
@@ -56,7 +56,7 @@
 #define TABLE_SIZE   (400)
 typedef struct
 {
-    float sine[TABLE_SIZE + 1]; // add one for guard point for interpolation
+    float sine[TABLE_SIZE + 1]; /* add one for guard point for interpolation */
     float phase_increment;
     float left_phase;
     float right_phase;
@@ -117,7 +117,7 @@ int main(void)
     {
         data.sine[i] = 0.90f * (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
     }
-    data.sine[TABLE_SIZE] = data.sine[0]; // set guard point
+    data.sine[TABLE_SIZE] = data.sine[0];       /* set guard point */
     data.left_phase = data.right_phase = 0.0;
     data.phase_increment = CalcPhaseIncrement(MIN_FREQ);