shithub: aubio

Download patch

ref: 74516f7559eef809e14566fe0226aa23fe38e5b8
parent: 407bba93972ee15016a4aa4255c180ca3ad677f3
author: Paul Brossier <[email protected]>
date: Sat Oct 17 13:18:47 EDT 2009

swig/aubio.i: remove windo enum

--- a/swig/aubio.i
+++ b/swig/aubio.i
@@ -99,19 +99,7 @@
 extern smpl_t aubio_hist_mean(aubio_hist_t *s);
 
 /* mathutils */
-typedef enum {
-        aubio_win_rectangle,
-        aubio_win_hamming,
-        aubio_win_hanning,
-        aubio_win_hanningz,
-        aubio_win_blackman,
-        aubio_win_blackman_harris,
-        aubio_win_gaussian,
-        aubio_win_welch,
-        aubio_win_parzen
-} aubio_window_type;
-
-fvec_t * new_aubio_window(uint_t size, aubio_window_type wintype);
+fvec_t * new_aubio_window(char * wintype, uint_t size);
 smpl_t aubio_unwrap2pi (smpl_t phase);
 smpl_t fvec_mean(fvec_t *s);
 smpl_t fvec_max(fvec_t *s);