zynaddsubfx

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

commit 258b500a315f6982bc031d3a953f4e3f178b823c
parent c698d2cd47df5597dbaea091882839e70b6e849f
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Thu, 15 Oct 2015 17:51:54 -0400

EnvlopeFreeEdit: Don't Request Duplicate Info

This should reduce the traffic created by this widget spawning

Diffstat:
Msrc/UI/EnvelopeFreeEdit.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/UI/EnvelopeFreeEdit.cpp b/src/UI/EnvelopeFreeEdit.cpp @@ -24,8 +24,8 @@ void EnvelopeFreeEdit::init(void) //register for non-bulk types for(int i=0; i<MAX_ENVELOPE_POINTS; ++i) { - oscRegister((string("Penvdt") + to_s(i)).c_str()); - oscRegister((string("Penvval") + to_s(i)).c_str()); + osc->createLink(loc+string("Penvdt") + to_s(i), this); + osc->createLink(loc+string("Penvval") + to_s(i), this); } }