reset meters only when *really* necessary
authorRobin Gareus <robin@gareus.org>
Thu, 25 Jul 2013 08:53:11 +0000 (10:53 +0200)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 8 Aug 2013 19:25:40 +0000 (15:25 -0400)
commitd327ab43cf6eda75b05e016f344f602390d59b8a
tree52cc0440439e5c65147780647be86c83b6494489
parent2da5fb9f3651ae973e957d26b825fd95b56a04e9
reset meters only when *really* necessary

..and continue to calculate fall-off in
audio-cycle (rather than UI thread)

TODO: check if this works properly when switching
between audio/midi meter modes on a midi-track.

One of the motivations to always reset meters when the
meter-point changes was to resolve peak-hold & fall-off
issues when a midi-meter replaces an audio-meter and vice
versa.
libs/ardour/meter.cc
libs/ardour/route.cc
libs/ardour/track.cc