Optimize Delaylines: block-process (not one sample at a time)
authorRobin Gareus <robin@gareus.org>
Sat, 4 Nov 2017 04:20:14 +0000 (05:20 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 4 Nov 2017 06:14:12 +0000 (07:14 +0100)
commitd26ad5573ca47a851575d9fe3e11e9d5c4b7dd67
tree4d95051266e8216b18b8061b3419c41c1f9fe59f
parent5fdd6ca21ecb5dbc3611b2b1c845fb6c3955b01e
Optimize Delaylines: block-process (not one sample at a time)

This also tweaks fade behavior when the latency changes to prefer a
x-fade when possible.

This new variant does not support concurrent re-allocation and
execution. Hence the auto-connect thread needs to take a lock before
updating latencies (actually there's no need for an explicit update with
built-in backends, so this case remains to be updated further)
libs/ardour/ardour/delayline.h
libs/ardour/delayline.cc
libs/ardour/session.cc