reset meters only when *really* necessary
authorRobin Gareus <robin@gareus.org>
Thu, 25 Jul 2013 08:53:11 +0000 (10:53 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 25 Jul 2013 08:53:11 +0000 (10:53 +0200)
commit132549c48a65271dfd81a3f550305e3990caed9f
treee6d7033adbb26981b44f37c6e41243df5122c436
parent3c33ff26335f9fdd6ea327cf5829345c3d4bbdc5
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