aboutsummaryrefslogtreecommitdiff
path: root/osc.lv2/writer.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-05-17 17:27:50 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-05-17 17:27:50 +0200
commitb3346080bd2930c4fd583664ddfa9d40f415f4a2 (patch)
treea27083effd63936fa29d40ca332ed72b9fa8e4be /osc.lv2/writer.h
parent346f8c3407d711c19822f9d3fb2c10e24348df84 (diff)
downloadsherlock.lv2-b3346080bd2930c4fd583664ddfa9d40f415f4a2.tar.xz
implement argument iterator helpers.
Diffstat (limited to 'osc.lv2/writer.h')
-rw-r--r--osc.lv2/writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osc.lv2/writer.h b/osc.lv2/writer.h
index 2cc89bb..4a1f449 100644
--- a/osc.lv2/writer.h
+++ b/osc.lv2/writer.h
@@ -425,7 +425,7 @@ lv2_osc_writer_packet(LV2_OSC_Writer *writer, LV2_OSC_URID *osc_urid,
LV2_OSC_Timetag tt;
LV2_OSC_Writer_Frame bndl;
- lv2_osc_timetag_get(osc_urid, timetag, &tt);
+ lv2_osc_timetag_get(osc_urid, &timetag->atom, &tt);
if(!lv2_osc_writer_push_bundle(writer, &bndl, lv2_osc_timetag_parse(&tt)))
return false;
@@ -502,7 +502,7 @@ lv2_osc_writer_packet(LV2_OSC_Writer *writer, LV2_OSC_URID *osc_urid,
else if( (atom->type == osc_urid->ATOM_Object) && (obj->body.otype == osc_urid->OSC_Timetag) )
{
LV2_OSC_Timetag tt;
- lv2_osc_timetag_get(osc_urid, obj, &tt);
+ lv2_osc_timetag_get(osc_urid, &obj->atom, &tt);
if(!lv2_osc_writer_add_timetag(writer, lv2_osc_timetag_parse(&tt)))
return false;
}