mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
fix LV2 freewheeling port, explicit cast bool to float.
http://lv2plug.in/ns/lv2core/#freeWheeling mentions "true" and http://lv2plug.in/ns/lv2core/#toggled defines true as > 0. false as <= 0.
This commit is contained in:
parent
22bc62ed43
commit
fee54fb155
1 changed files with 1 additions and 1 deletions
|
|
@ -1922,7 +1922,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
|
|||
TempoMetric tmetric = tmap.metric_at(_session.transport_frame(), &metric_i);
|
||||
|
||||
if (_freewheel_control_port) {
|
||||
*_freewheel_control_port = _session.engine().freewheeling();
|
||||
*_freewheel_control_port = _session.engine().freewheeling() ? 1.f : 0.f;
|
||||
}
|
||||
|
||||
if (_bpm_control_port) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue