13
0

clip level is adjusted only by region amplitude (which is audible), not by _amplitude_above_axis

This commit is contained in:
Paul Davis 2015-06-18 09:02:31 -04:00
parent bace0e85dc
commit 329753241f

View File

@ -399,7 +399,7 @@ WaveView::draw_image (Cairo::RefPtr<Cairo::ImageSurface>& image, PeakData* _peak
has been scaled by scale_amplitude() already.
*/
const double clip_level = _clip_level * req->amplitude;
const double clip_level = _clip_level * _region_amplitude;
if (_shape == WaveView::Rectified) {