Send LV2 time properties with correct types from specification.
git-svn-id: svn://localhost/ardour2/branches/3.0@13791 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
46d884ff16
commit
a6d49b5f63
@ -1447,9 +1447,9 @@ write_position(LV2_Atom_Forge* forge,
|
||||
lv2_atom_forge_float(forge, bbt.beats - 1 +
|
||||
(bbt.ticks / Timecode::BBT_Time::ticks_per_beat));
|
||||
lv2_atom_forge_property_head(forge, LV2Plugin::urids.time_bar, 0);
|
||||
lv2_atom_forge_float(forge, bbt.bars - 1);
|
||||
lv2_atom_forge_long(forge, bbt.bars - 1);
|
||||
lv2_atom_forge_property_head(forge, LV2Plugin::urids.time_beatUnit, 0);
|
||||
lv2_atom_forge_float(forge, t.meter().note_divisor());
|
||||
lv2_atom_forge_int(forge, t.meter().note_divisor());
|
||||
lv2_atom_forge_property_head(forge, LV2Plugin::urids.time_beatsPerBar, 0);
|
||||
lv2_atom_forge_float(forge, t.meter().divisions_per_bar());
|
||||
lv2_atom_forge_property_head(forge, LV2Plugin::urids.time_beatsPerMinute, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user