mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 06:07:29 +01:00
Sync reset meter, report zero until the meter is actually reset
This commit is contained in:
parent
24cce2e43d
commit
58672bcaa2
1 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue