aboutsummaryrefslogtreecommitdiff
path: root/osc_inspector.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc_inspector.c')
-rw-r--r--osc_inspector.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/osc_inspector.c b/osc_inspector.c
index 41d87b2..fc9f9a5 100644
--- a/osc_inspector.c
+++ b/osc_inspector.c
@@ -154,9 +154,7 @@ run(LV2_Handle instance, uint32_t nsamples)
if(ref)
ref = lv2_atom_forge_frame_time(forge, ev->time.frames);
if(ref)
- ref = lv2_atom_forge_raw(forge, &ev->body, sizeof(LV2_Atom) + ev->body.size);
- if(ref)
- lv2_atom_forge_pad(forge, ev->body.size);
+ ref = lv2_atom_forge_write(forge, &ev->body, sizeof(LV2_Atom) + ev->body.size);
}
}