projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bace0e8
)
clip level is adjusted only by region amplitude (which is audible), not by _amplitude...
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 18 Jun 2015 13:02:31 +0000
(09:02 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:15 +0000
(14:18 -0400)
libs/canvas/wave_view.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/wave_view.cc
b/libs/canvas/wave_view.cc
index f4e56cb1d53f6fb2af75ca26a69276fdd9293efc..e8db7d8c6a3055a8a6056f94d94aa91e5d7a7dcc 100644
(file)
--- a/
libs/canvas/wave_view.cc
+++ b/
libs/canvas/wave_view.cc
@@
-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) {