From 99c23578bcc30836ffbac808433c02760a450a06 Mon Sep 17 00:00:00 2001 From: philburk Date: Tue, 1 Mar 2011 02:12:46 +0000 Subject: [PATCH] ANother C99 fix for loopback. --- qa/loopback/src/audio_analyzer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/loopback/src/audio_analyzer.c b/qa/loopback/src/audio_analyzer.c index 5a677e6..60299d0 100644 --- a/qa/loopback/src/audio_analyzer.c +++ b/qa/loopback/src/audio_analyzer.c @@ -290,7 +290,7 @@ void PaQa_FilterRecording( PaQaRecording *input, PaQaRecording *output, BiquadFi // peaks then drops to half the peak. double PaQa_FindFirstMatch( PaQaRecording *recording, float *buffer, int numFrames, double tolerance ) { - int i; + int ic,is; QA_ASSERT_TRUE( "numFrames out of bounds", (numFrames < recording->numFrames) ); // How many buffers will fit in the recording? int maxCorrelations = recording->numFrames - numFrames; @@ -329,7 +329,7 @@ error: // Measure the area under the curve by summing absolute value of each value. double PaQa_MeasureArea( float *buffer, int numFrames, int stride ) { - int i; + int is; double area = 0.0; for( is=0; is= 0 ); assert( count > 0 ); double phase = 0.5 * MATH_PI; -- 2.43.0