zynaddsubfx

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

commit f0e940cb55d2ea31c804beccbe6ee05ea98e88f3
parent b99006a89a8f7c2d0c4ba248607e8fbe06bb8b40
Author: Johannes Lorenz <[email protected]>
Date:   Sun,  8 Nov 2020 00:23:23 +0100

Master: Add comments

Diffstat:
Msrc/Misc/Master.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -68,15 +68,15 @@ static const Ports sysefxPort = assert(isdigit(*index_1)); if(isdigit(index_1[-1])) index_1--; - int ind1 = atoi(index_1); + int ind1 = atoi(index_1); //efx //Now get the second index like normal while(!isdigit(*m)) m++; - int ind2 = atoi(m); + int ind2 = atoi(m); //part Master &mast = *(Master*)d.obj; if(rtosc_narguments(m)) { - mast.setPsysefxvol(ind2, ind1, rtosc_argument(m,0).i); + mast.setPsysefxvol(ind2, ind1, rtosc_argument(m,0).i /*vol*/); d.broadcast(d.loc, "i", mast.Psysefxvol[ind1][ind2]); } else d.reply(d.loc, "i", mast.Psysefxvol[ind1][ind2]);