projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2feea
)
forward port lv2_evbuf update (from jalv)
author
Robin Gareus
<robin@gareus.org>
Sat, 1 Feb 2014 22:06:24 +0000
(23:06 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 1 Feb 2014 22:07:23 +0000
(23:07 +0100)
libs/ardour/lv2_evbuf.c
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_evbuf.c
b/libs/ardour/lv2_evbuf.c
index 8942d19a9b2b038cb2ad9599939508b051250375..f0e62d9b6592b835941cbb7dd7b869bb16c52f86 100644
(file)
--- a/
libs/ardour/lv2_evbuf.c
+++ b/
libs/ardour/lv2_evbuf.c
@@
-203,7
+203,7
@@
lv2_evbuf_get(LV2_Evbuf_Iterator iter,
switch (iter.evbuf->type) {
case LV2_EVBUF_EVENT:
ebuf = &iter.evbuf->buf.event;
- ev = (LV2_Event*)
ebuf->data + iter.offset
;
+ ev = (LV2_Event*)
((char*)ebuf->data + iter.offset)
;
*frames = ev->frames;
*subframes = ev->subframes;
*type = ev->type;