From 277918bb130841b25ecf8f523864c20610ef7f68 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 7 Oct 2009 23:21:15 +0200 Subject: [PATCH] src/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do --- src/temporal/resample.c | 2 +- src/temporal/resample.h | 2 +- swig/aubio.i | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.26.2