aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-06-19 09:38:44 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-06-19 09:40:09 +0200
commitb5ab0c04fc1e0c6a11bdda4dbf83e80626402ae2 (patch)
treeacea04d6cbe6f0c1142590dc93e6d6bfe15baac9
parent57c4f6a30772ca6a0085a6018577de6be7808086 (diff)
downloadsherlock.lv2-b5ab0c04fc1e0c6a11bdda4dbf83e80626402ae2.tar.xz
fix midi_forge bug from last commit.
-rw-r--r--lv2_osc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lv2_osc.h b/lv2_osc.h
index ce76c10..9474e51 100644
--- a/lv2_osc.h
+++ b/lv2_osc.h
@@ -409,9 +409,13 @@ osc_forge_message_varlist(osc_forge_t *oforge, LV2_Atom_Forge *forge,
return 0;
break;
case 'm':
- if(!(ref = osc_forge_midi(oforge, forge, va_arg(args, const uint8_t *))))
+ {
+ int32_t size = va_arg(args, int32_t);
+ const uint8_t *m = va_arg(args, const uint8_t *);
+ if(!(ref = osc_forge_midi(oforge, forge, size, m)))
return 0;
break;
+ }
case 'T':
if(!(ref = osc_forge_true(oforge, forge)))