projects
/
gst-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d1e4c
)
src/gstaubiotempo.c: fix input copy
author
Paul Brossier
<piem@piem.org>
Wed, 26 Mar 2008 18:27:05 +0000
(19:27 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 26 Mar 2008 18:27:05 +0000
(19:27 +0100)
src/gstaubiotempo.c
patch
|
blob
|
history
diff --git
a/src/gstaubiotempo.c
b/src/gstaubiotempo.c
index
f7a2da9
..
dcfe854
100644
(file)
--- a/
src/gstaubiotempo.c
+++ b/
src/gstaubiotempo.c
@@
-200,7
+200,8
@@
gst_aubio_tempo_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
/* block loop */
for (j = 0; j < nsamples; j++) {
/* copy input to ibuf */
- fvec_write_sample(filter->ibuf, (smpl_t)(GST_BUFFER_DATA(buf)[j]), 0, filter->pos);
+ fvec_write_sample(filter->ibuf, ((smpl_t *) GST_BUFFER_DATA(buf))[j], 0,
+ filter->pos);
if (filter->pos == filter->hop_size - 1) {
aubio_tempo(filter->t, filter->ibuf, filter->out);