summaryrefslogtreecommitdiffstats
path: root/src/server/JackDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/JackDriver.cpp')
-rw-r--r--src/server/JackDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp
index fd6b2631..21f2656f 100644
--- a/src/server/JackDriver.cpp
+++ b/src/server/JackDriver.cpp
@@ -377,9 +377,9 @@ JackDriver::append_time_events(ProcessContext& context,
lv2_atom_forge_float(
&_forge, pos->beat - 1 + (pos->tick / pos->ticks_per_beat));
lv2_atom_forge_property_head(&_forge, uris.time_bar, 0);
- lv2_atom_forge_float(&_forge, pos->bar - 1);
+ lv2_atom_forge_long(&_forge, pos->bar - 1);
lv2_atom_forge_property_head(&_forge, uris.time_beatUnit, 0);
- lv2_atom_forge_float(&_forge, pos->beat_type);
+ lv2_atom_forge_int(&_forge, pos->beat_type);
lv2_atom_forge_property_head(&_forge, uris.time_beatsPerBar, 0);
lv2_atom_forge_float(&_forge, pos->beats_per_bar);
lv2_atom_forge_property_head(&_forge, uris.time_beatsPerMinute, 0);