ref: 45c0f163a013670c84ff3a13d0a6dafdcb39d918
parent: 7e20db8baa091e6e98b59d9c7ad86f0395704c89
author: Paul Brossier <piem@altern.org>
date: Fri Jul 21 14:14:57 EDT 2006
complete test-tss memory freeing complete test-tss memory freeing
--- a/examples/tests/test-tss.c
+++ b/examples/tests/test-tss.c
@@ -5,7 +5,7 @@
* a delay equal to the window size, hop_s.
*/
-#include "aubio.h"
+#include <aubio.h>
int main(){
int i;
@@ -28,7 +28,7 @@
/* fill input with some data */
printf("initialised\n");
/* execute stft */
- for (i = 0; i < 1000; i++) {
+ for (i = 0; i < 10; i++) {
aubio_pvoc_do (pv,in,fftgrain);
aubio_tss_do (tss,fftgrain,ctrans,cstead);
aubio_pvoc_rdo(pvt,cstead,stead);
@@ -41,6 +41,7 @@
del_cvec(ctrans);
del_fvec(stead);
del_fvec(trans);
+ aubio_cleanup();
printf("memory freed\n");
return 0;
}