diff options
author | David Robillard <d@drobilla.net> | 2013-01-05 21:10:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-05 21:10:08 +0000 |
commit | 6f80f7503bc2a556b53d3d895b9f028d5ef24b4e (patch) | |
tree | 388fe3a97cad0c77be9985a5b3e3d88c4f769504 /src | |
parent | d338009e74532d8bade5f58a1bab13f3a5fa0795 (diff) | |
download | jalv-6f80f7503bc2a556b53d3d895b9f028d5ef24b4e.tar.gz jalv-6f80f7503bc2a556b53d3d895b9f028d5ef24b4e.tar.bz2 jalv-6f80f7503bc2a556b53d3d895b9f028d5ef24b4e.zip |
Send LV2 time properties with correct types from specification.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4900 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -394,9 +394,9 @@ jack_process_cb(jack_nframes_t nframes, void* data) lv2_atom_forge_float( forge, pos.beat - 1 + (pos.tick / pos.ticks_per_beat)); lv2_atom_forge_property_head(forge, jalv->urids.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, jalv->urids.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, jalv->urids.time_beatsPerBar, 0); lv2_atom_forge_float(forge, pos.beats_per_bar); lv2_atom_forge_property_head(forge, jalv->urids.time_beatsPerMinute, 0); |