really fill test-fft
authorPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 13:55:39 +0000 (13:55 +0000)
committerPaul Brossier <piem@altern.org>
Fri, 29 Sep 2006 13:55:39 +0000 (13:55 +0000)
really fill test-fft

examples/tests/test-fft.c

index 2c96dfd0919b382ae6789c28dc35fa496623b84d..17adeb589340c8e8ce6398154c4e3bf6d3f6adfe 100644 (file)
@@ -26,6 +26,7 @@ int main(){
         aubio_window(w,win_s,aubio_win_hanningz);
   
         /* fill input with some data */
+        in->data[0][win_s/2] = 1;
   
         /* execute stft */
         for (i=0; i < channels; i++) {