professionalize peak-meters
authorRobin Gareus <robin@gareus.org>
Sat, 2 May 2015 00:36:53 +0000 (02:36 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 2 May 2015 01:46:49 +0000 (03:46 +0200)
commitce259edbcdd4c9a2cd8f2a5daa8b158dd9afc928
tree03bfcd5b12a088b1ea941fadd1b4879699b81a07
parent2f432c3be779eb2e8b1915703746853781e0e8a2
professionalize peak-meters

The peak meter needs to withstand various test-signals
without visual jitter (in particular 1kHz sine) regardless
of settings (period-size, sample-rate, custom fall-off).

This needs to be done in sync (and not by a random non-rt
‘smoothing’ thread).

On the downside this voids the ‘visual smoothing’ particularly
with large buffersizes - but then again exactly this “always
fall-off no matter what [the next real data will be]” is the
problem.

One the upside, there’s one less high-frequency (100Hz) thread
(Yay!) PS. it probably never worked on windows, anyway.

Only peak-meters are affected by his change.
K-meters, IEC I/II and VU were never visually smoothed.
libs/ardour/ardour/audioengine.h
libs/ardour/ardour/meter.h
libs/ardour/ardour/route.h
libs/ardour/audioengine.cc
libs/ardour/meter.cc
libs/ardour/route.cc
libs/surfaces/control_protocol/control_protocol.cc
libs/surfaces/mackie/strip.cc