projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e37ade
)
src/temporal/resample.c: cast to SRC native type
author
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 05:06:11 +0000
(07:06 +0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 05:06:11 +0000
(07:06 +0200)
src/temporal/resample.c
patch
|
blob
|
history
diff --git
a/src/temporal/resample.c
b/src/temporal/resample.c
index b67b264e7e1e11981cb6565f3af2dd1f5bf562ef..093beff5b20ad670b0f3e5e89399f5c038050a14 100644
(file)
--- 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) ;
}