ref: 277918bb130841b25ecf8f523864c20610ef7f68
parent: 0ce97483b9c3ee9ac4680ddde8ca7f8ef8a6a9f5
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 19:21:15 EDT 2009
src/temporal/resample.c: rename aubio_resampler_process to aubio_resampler_do
--- a/src/temporal/resample.c
+++ b/src/temporal/resample.c
@@ -50,7 +50,7 @@
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;
--- a/src/temporal/resample.h
+++ b/src/temporal/resample.h
@@ -51,7 +51,7 @@
\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
}
--- a/swig/aubio.i
+++ b/swig/aubio.i
@@ -182,7 +182,7 @@
/* 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 */