diff options
Diffstat (limited to 'libs/ardour/meter.cc')
-rw-r--r-- | libs/ardour/meter.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index 7964ca0431..17602f6900 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -356,6 +356,11 @@ PeakMeter::set_max_channels (const ChanCount& chn) float PeakMeter::meter_level (uint32_t n, MeterType type) { + if (g_atomic_int_get (&_reset_max)) { + /* max-peak implies DPM reset */ + return minus_infinity (); + } + float mcptmp; switch (type) { case MeterKrms: |