clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 26967bacfdcf8b1b845683b820ae91e92d1f41f8
parent f35949d0a2f7f80f4d7dc0763db4e29505655b73
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Tue, 17 Aug 2021 17:05:42 +0200

More work

Diffstat:
Mexamples/gui/parameter-proxy.hh | 2+-
Mexamples/plugins/dc-offset/skin/main.qml | 4++++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/examples/gui/parameter-proxy.hh b/examples/gui/parameter-proxy.hh @@ -79,7 +79,7 @@ private: double value_ = 0; double modulation_ = 0; double minValue_ = 0; - double maxValue_ = 0; + double maxValue_ = 1; double defaultValue_ = 0; bool isAdjusting_ = false; }; \ No newline at end of file diff --git a/examples/plugins/dc-offset/skin/main.qml b/examples/plugins/dc-offset/skin/main.qml @@ -7,7 +7,11 @@ Rectangle { color: "#224477" Dial { + id: dc_offset_knob property QtObject param: plugin.param(0) + from: param.minValue + to: param.maxValue + value: param.value inputMode: Dial.Vertical } } \ No newline at end of file