From 4123f16136372509b6b4d766f1837cbd55432678 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 1 Dec 2007 21:57:36 +0100 Subject: [PATCH] update aubio.i with new adsgn_filter and cdsgn_filter --- swig/aubio.i | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/swig/aubio.i b/swig/aubio.i index 66e17d93..3b7d65ac 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -86,12 +86,19 @@ extern void aubio_fft_get_real(cvec_t * spectrum, fvec_t * compspec); /* filter */ extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order); -extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate); extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate); extern void aubio_filter_do(aubio_filter_t * b, fvec_t * in); extern void aubio_filter_do_outplace(aubio_filter_t * b, fvec_t * in, fvec_t * out); extern void aubio_filter_do_filtfilt(aubio_filter_t * b, fvec_t * in, fvec_t * tmp); -/*extern int del_aubio_filter(aubio_filter_t * b);*/ +extern void del_aubio_filter(aubio_filter_t * b); + +extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate); +extern void aubio_adsgn_filter_do(aubio_filter_t * b, fvec_t * in); +extern void del_aubio_adsgn_filter(aubio_filter_t * b); + +extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate); +extern void aubio_cdsgn_filter_do(aubio_filter_t * b, fvec_t * in); +extern void del_aubio_cdsgn_filter(aubio_filter_t * b); /* biquad */ extern aubio_biquad_t * new_aubio_biquad(lsmp_t b1, lsmp_t b2, lsmp_t b3, lsmp_t a2, lsmp_t a3); -- 2.26.2