mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
Prepare for region polarity inversion (using negative gain)
This commit is contained in:
parent
37d6f1026a
commit
5b52aa956f
2 changed files with 8 additions and 2 deletions
|
|
@ -483,7 +483,7 @@ WaveView::draw_image (Cairo::RefPtr<Cairo::ImageSurface>& image, PeakData* peaks
|
|||
has been scaled by scale_amplitude() already.
|
||||
*/
|
||||
|
||||
const double clip_level = _global_clip_level * req->image->props.amplitude;
|
||||
const double clip_level = _global_clip_level * fabs (req->image->props.amplitude);
|
||||
|
||||
const Shape shape = req->image->props.shape;
|
||||
const bool logscaled = req->image->props.logscaled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue