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 2c96dfd..17adeb5 100644 (file)
@@ -26,6 +26,7 @@ int main(){
         aubio_window(w,win_s,aubio_win_hanningz);
   
         /* fill input with some data */
         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++) {
   
         /* execute stft */
         for (i=0; i < channels; i++) {