mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 22:27:36 +01:00
Fix async peak-meter reset
This commit is contained in:
parent
69194df4d9
commit
3e4f2d0f7a
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ PeakMeter::run (BufferSet& bufs, samplepos_t /*start_sample*/, samplepos_t /*end
|
|||
return;
|
||||
}
|
||||
const bool do_reset_max = _reset_max;
|
||||
const bool do_reset_dpm = _reset_dpm;
|
||||
// XXX max-peak is set from DPM's peak-buffer, so DPM also needs to be reset in sync:
|
||||
const bool do_reset_dpm = _reset_dpm || do_reset_max;
|
||||
|
||||
_reset_max = false;
|
||||
_reset_dpm = false;
|
||||
_combined_peak = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue