summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-18 09:01:47 +0200
committerRobin Gareus <robin@gareus.org>2013-07-18 09:01:47 +0200
commitf0a3f1ea52ab1a2c142e904a3fce110092ac1106 (patch)
tree3fd2fcd1431c8afb9c540f71b12e948b9a37cfc0 /libs/ardour/route.cc
parentd2c39db64db72eb364246327aafda871a71e0d8e (diff)
reset meter when meter-point changes
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index dad1922488..5c794fb379 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -3152,6 +3152,9 @@ Route::set_meter_point (MeterPoint p, bool force)
*/
}
+ _meter->reset();
+ _meter->reset_max();
+
meter_change (); /* EMIT SIGNAL */
bool const meter_visibly_changed = (_meter->display_to_user() != meter_was_visible_to_user);