13
0

Improve behaviour of MIDI metering.

git-svn-id: svn://localhost/ardour2/branches/3.0@7337 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-06-30 15:08:18 +00:00
parent 5f67a72c34
commit aad230da69

View File

@ -67,7 +67,7 @@ PeakMeter::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_fram
}
}
}
_peak_power[n] = val;
_peak_power[n] = max (val, _peak_power[n]);
}
// Meter audio in to the rest of the peaks