zynaddsubfx

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

commit 0680b6bf003ecd685be34c516a1dd8b85616770c
parent 20b7437729d9568b01ccd1330edf096fc961bca9
Author: fundamental <[email protected]>
Date:   Sun, 29 Nov 2015 21:22:04 -0500

PADnotePars: Squelch 'needPrepare' Unknown Address

Future versions may provide a precise knowledge of when an
applyparameters() is needed, but for now no such information is stored.
Adding a dummy port silences this one runtime warning.

Diffstat:
Msrc/Params/PADnoteParameters.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/Params/PADnoteParameters.cpp b/src/Params/PADnoteParameters.cpp @@ -234,6 +234,8 @@ static const rtosc::Ports non_realtime_ports = d.reply(d.loc, "b", n*sizeof(float), tmp); d.reply(d.loc, "i", realbw); delete[] tmp;}}, + {"needPrepare:", rDoc("Unimplemented Stub"), + NULL, [](const char *, rtosc::RtData&) {}}, }; const rtosc::Ports &PADnoteParameters::non_realtime_ports = ::non_realtime_ports;