From: Paul Brossier Date: Wed, 7 Oct 2009 21:21:15 +0000 (+0200) Subject: src/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do X-Git-Tag: bzr2git~187 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=277918bb130841b25ecf8f523864c20610ef7f68;p=aubio.git src/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do --- diff --git a/src/temporal/resample.c b/src/temporal/resample.c index 85a98699..7a503f69 100644 --- a/src/temporal/resample.c +++ b/src/temporal/resample.c @@ -50,7 +50,7 @@ void del_aubio_resampler(aubio_resampler_t *s) { AUBIO_FREE(s); } -uint_t aubio_resampler_process(aubio_resampler_t *s, +uint_t aubio_resampler_do (aubio_resampler_t *s, fvec_t * input, fvec_t * output) { uint_t i ; s->proc->input_frames = input->length; diff --git a/src/temporal/resample.h b/src/temporal/resample.h index d4449ca3..4a766067 100644 --- a/src/temporal/resample.h +++ b/src/temporal/resample.h @@ -51,7 +51,7 @@ void del_aubio_resampler(aubio_resampler_t *s); \param output output buffer of size N*ratio */ -uint_t aubio_resampler_process(aubio_resampler_t *s, fvec_t * input, fvec_t * output); +uint_t aubio_resampler_do (aubio_resampler_t *s, fvec_t * input, fvec_t * output); #ifdef __cplusplus } diff --git a/swig/aubio.i b/swig/aubio.i index 84b851db..388256aa 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -182,7 +182,7 @@ extern void del_aubio_scale(aubio_scale_t *s); /* resampling */ %#if HAVE_SAMPLERATE extern aubio_resampler_t * new_aubio_resampler(float ratio, uint_t type); -extern uint_t aubio_resampler_process(aubio_resampler_t *s, fvec_t * input, fvec_t * output); +extern uint_t aubio_resampler_do (aubio_resampler_t *s, fvec_t * input, fvec_t * output); extern void del_aubio_resampler(aubio_resampler_t *s); %#endif /* HAVE_SAMPLERATE */