[SCM] calf/master: + VU meter: fix last pixel in reverse mode (eg. compression indicator)
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:38:43 UTC 2013
The following commit has been merged in the master branch:
commit af08af33bc5965f7ca5f2dcdacd610c4292a52d8
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Thu Nov 27 22:21:38 2008 +0000
+ VU meter: fix last pixel in reverse mode (eg. compression indicator)
diff --git a/ChangeLog b/ChangeLog
index c620f82..54480f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Version 0.0.17 (ongoing)
improvements, line graph with dots and grid lines - no legend yet), move
autolayout code from the plugin libraries to makerdf executable,
+ Most plugins: use custom GUI layouts instead of autogenerated ones
++ Most plugins: add dry amount (for aux bus type uses)
+ Flanger, Filter, MultiChorus: added live graphs displaying frequency
response and (in case of MultiChorus) LFO positions
+ LV2 GUI: added a way to display live graphs in Ardour and Zynjacku/LV2Rack
diff --git a/src/custom_ctl.cpp b/src/custom_ctl.cpp
index c8a7f97..c7e3e75 100644
--- a/src/custom_ctl.cpp
+++ b/src/custom_ctl.cpp
@@ -289,7 +289,7 @@ calf_vumeter_expose (GtkWidget *widget, GdkEventExpose *event)
break;
case VU_MONOCHROME_REVERSE:
r = 1, g = 1, b = 0;
- if (!(vu->value < ts || vu->value <= 0))
+ if (!(vu->value < ts) || vu->value >= 1.0)
r *= 0.5, g *= 0.5, b *= 0.5;
break;
case VU_MONOCHROME:
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list