From e7b3629c5ee87107e053c83201fd5cd6850d9976 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 17 Sep 2009 07:06:11 +0200 Subject: [PATCH] src/temporal/resample.c: cast to SRC native type --- src/temporal/resample.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ; } -- 2.26.2