[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/noatun/library/noatunarts
From:       Stefan Gehn <sgehn () gmx ! net>
Date:       2003-10-20 16:40:30
[Download RAW message or body]

CVS commit by metz: 

found an unused function, commenting it out for now


  M +12 -12    fft.c   1.3


--- kdemultimedia/noatun/library/noatunarts/fft.c  #1.2:1.3
@@ -209,5 +209,5 @@ static unsigned NumberOfBitsNeeded ( uns
 
 
-static unsigned ReverseBits ( unsigned index, unsigned NumBits )
+static unsigned ReverseBits ( unsigned ind, unsigned NumBits )
 {
     unsigned i, rev;
@@ -215,6 +215,6 @@ static unsigned ReverseBits ( unsigned i
     for ( i=rev=0; i < NumBits; i++ )
     {
-        rev = (rev << 1) | (index & 1);
-        index >>= 1;
+        rev = (rev << 1) | (ind & 1);
+        ind >>= 1;
     }
 
@@ -222,5 +222,5 @@ static unsigned ReverseBits ( unsigned i
 }
 
-
+/*
 static double Index_to_frequency ( unsigned NumSamples, unsigned Index )
 {
@@ -232,5 +232,5 @@ static double Index_to_frequency ( unsig
     return -(double)(NumSamples-Index) / (double)NumSamples;
 }
-
+*/
 #undef TRUE
 #undef FALSE


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic