shithub: aubio

Download patch

ref: 40536fa0f024beead477bdeb34b512b52c38ff46
parent: cdfad6fdc72e5ea503c688665c272efd61a7d245
author: Paul Brossier <[email protected]>
date: Fri Jul 21 14:11:29 EDT 2006

complete test-phasevoc memory freeing
complete test-phasevoc memory freeing


--- a/examples/tests/test-phasevoc.c
+++ b/examples/tests/test-phasevoc.c
@@ -1,11 +1,6 @@
-/* test sample for phase vocoder 
- *
- * this program should start correctly using JACK_START_SERVER=true and
- * reconstruct each audio input frame perfectly on the corresponding input with
- * a delay equal to the window size, hop_s.
- */
+/* test sample for phase vocoder */
 
-#include "aubio.h"
+#include <aubio.h>
 
 int main(){
         uint_t win_s    = 1024; /* window size                       */
@@ -29,6 +24,7 @@
         del_fvec(in);
         del_cvec(fftgrain);
         del_fvec(out);
+        aubio_cleanup();
         printf("memory freed\n");
         return 0;
 }