diff options
author | David Robillard <d@drobilla.net> | 2012-11-17 18:41:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-17 18:41:19 +0000 |
commit | 4c5ef5318edb4e1cdc76288860c27358155efe17 (patch) | |
tree | b799988e6b5ef0a105d9c89fa9399c35b6b604e2 /templates/16 Tracks | |
parent | dd78c6ed719c717a892e47e8b4ef5702ced7eb8d (diff) |
Sent precise transport information to LV2 plugins via events.
We send the full transport state (frame position, BBT time, transport speed,
meter) to the plugin:
* At the start of a cycle whenever a relocate or transport speed change has
occurred
* On every occurrence of a meter change within a cycle
This means the plugin gets a sample accurate meter/tempo map, even if the meter
changes in the middle of a cycle. However, this is not quite right yet: things
can get wonky if the tempo map is edited while rolling, since this code will
not detect the change and fail to update the plugin at the start of the cycle.
Other changes:
* Factor out TempoMetric::set_metric() and simplify some tempo functions
* Clean up LV2 URID stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@13513 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'templates/16 Tracks')
0 files changed, 0 insertions, 0 deletions