summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-16 19:36:57 +0200
committerRobin Gareus <robin@gareus.org>2013-07-16 19:36:57 +0200
commitc456166dd163e12053c7cfd4554f695ab0d30b68 (patch)
treee5d4f53def013dea2a574174ebac3dbc54b836ec /libs/ardour/track.cc
parent003492cbf9b6636f97eba44481e08cbea46c5fea (diff)
zero meters for inactive tracks
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 1cf9887594..d2c9b1deb5 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -347,6 +347,9 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
if (!_active) {
silence (nframes);
+ if (_meter_point == MeterInput && (_monitoring & MonitorInput || _diskstream->record_enabled())) {
+ _meter->reset();
+ }
return 0;
}