[SCM] calf/master: show phase by freq in analyzer

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:57 UTC 2013


The following commit has been merged in the master branch:
commit 932069da812f042fe6cdaca479f1ebab3d647681
Author: Christian Holschuh <chrisch.holli at gmx.de>
Date:   Tue Mar 6 02:48:03 2012 +0100

    show phase by freq in analyzer

diff --git a/src/modules.cpp b/src/modules.cpp
index 507c80d..c88c11c 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -1177,8 +1177,8 @@ bool analyzer_audio_module::get_graph(int index, int subindex, float *data, int
             }
             data[i] = dB_grid(fabs(val) / _accuracy * 2.f);
             if(*params[param_analyzer_correction] == 3) {
-                if(i)data[i] = fft_out[iter];
-                if(!i)data[i}
+                if(i) data[i] = fft_out[iter];
+                else data[i] = 0.f;
                 if(fabs(data[i])>1.f) printf("mehr als 1!!!!!!!!!! bei %5d bei iter %4d und _iter %4d\n",i,iter,_iter);
             } 
         } //else if(*params[param_analyzer_correction] == 2) {

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list