From: Paul Brossier Date: Thu, 17 Sep 2009 05:06:11 +0000 (+0200) Subject: src/temporal/resample.c: cast to SRC native type X-Git-Tag: bzr2git~352 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7b3629c5ee87107e053c83201fd5cd6850d9976;p=aubio.git src/temporal/resample.c: cast to SRC native type --- diff --git a/src/temporal/resample.c b/src/temporal/resample.c index b67b264e..093beff5 100644 --- a/src/temporal/resample.c +++ b/src/temporal/resample.c @@ -56,8 +56,8 @@ uint_t aubio_resampler_process(aubio_resampler_t *s, for (i = 0 ; i< input->channels; i++) { /* make SRC_PROC data point to input outputs */ - s->proc->data_in = input->data[i]; - s->proc->data_out= output->data[i]; + s->proc->data_in = (float *)input->data[i]; + s->proc->data_out= (float *)output->data[i]; /* do resampling */ src_process (s->stat, s->proc) ; }