zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 8cf2334b39786ccfcb533805a83493950f568003
parent 85f161bababd519145cd98f4210a20072b881d99
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Fri, 17 Apr 2015 14:02:42 -0400

SimpleUI: Fix Off-By-One In System Effects Paths

Diffstat:
Msrc/UI/Connection.cpp | 1+
Msrc/UI/MasterUI.fl | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/UI/Connection.cpp b/src/UI/Connection.cpp @@ -221,6 +221,7 @@ class UI_Interface:public Fl_Osc_Interface void requestValue(string s) override { + assert(s!="/Psysefxvol-1/part0"); //Fl_Osc_Interface::requestValue(s); if(impl->activeUrl() != "GUI") { impl->transmitMsg("/echo", "ss", "OSC_URL", "GUI"); diff --git a/src/UI/MasterUI.fl b/src/UI/MasterUI.fl @@ -1101,7 +1101,7 @@ simplemaxkcounter->do_callback();} } Fl_Dial simplesyseffsend { xywh {300 160 30 30} maximum 127 step 1 - code0 {o->alt_init("/","Psysefxvol"+to_s(nsyseff-1)+"/part"+to_s(npart));} + code0 {o->alt_init("/","Psysefxvol"+to_s(nsyseff)+"/part"+to_s(npart));} class Fl_Osc_Dial } Fl_Box {} {