outline a "NoSampleAccurateControl" LV2 feature:
authorRobin Gareus <robin@gareus.org>
Sun, 6 Dec 2015 12:49:16 +0000 (13:49 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 6 Dec 2015 13:27:24 +0000 (14:27 +0100)
commit065d7c852a1586a3020affd6905f108abf252119
treea89c10785b7ae940204930f797200979b0817e49
parentbc15146560abb7694e8e06735445f437d3ad40eb
outline a "NoSampleAccurateControl" LV2 feature:

Since control-ports have a fixed value for the current process-block,
Ardour splits a plugin's run() process cycle on every automation event
to facilitate sample-accurate automation.

Since automation is interpolated between events, this ensures that each
explicit automation point is reached (not interpolated).

Plugins where this is not required and which favor a fixed block-size,
can now specify an optional Feature: NoSampleAccurateControl.

One example: a convolution plugin with smoothed gain control.
libs/ardour/ardour/lv2_plugin.h
libs/ardour/lv2_plugin.cc