clip level is adjusted only by region amplitude (which is audible), not by _amplitude_above_axis
This commit is contained in:
parent
bace0e85dc
commit
329753241f
@ -399,7 +399,7 @@ WaveView::draw_image (Cairo::RefPtr<Cairo::ImageSurface>& image, PeakData* _peak
|
|||||||
has been scaled by scale_amplitude() already.
|
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) {
|
if (_shape == WaveView::Rectified) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user