From 88856255d270830dbe8388d5f34a8a919fa79b74 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 22 May 2013 15:14:31 -0700 Subject: [PATCH] cmDspPgm.c:_cmDspSysPgm_Preset() improved variable names. --- dsp/cmDspPgm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dsp/cmDspPgm.c b/dsp/cmDspPgm.c index 3443459..f31cb04 100644 --- a/dsp/cmDspPgm.c +++ b/dsp/cmDspPgm.c @@ -2177,14 +2177,14 @@ cmDspRC_t _cmDspSysPgm_Preset( cmDspSysH_t h, void** userPtrPtr ) double sgHz = 500; double sgGain = 0.02; unsigned grpSymId = cmDspSysPresetRegisterGroup(h,"test"); - const cmChar_t* preLbl = NULL; + const cmChar_t* prefixLabel = NULL; cmDspInst_t* sg = cmDspSysAllocInst( h, "SigGen", NULL, 3, sgHz, sgShapeId, sgGain ); cmDspInst_t* ao = cmDspSysAllocAudioOut( h, 0, 1.0 ); - cmDspInst_t* shape = cmDspSysAllocScalarP( h, grpSymId, preLbl, "Shape", 0.0, 3.0, 1.0, sgShapeId); - cmDspInst_t* hz = cmDspSysAllocScalarP( h, grpSymId, preLbl, "Hz", 0.0, 10000.0, 0.01, sgHz); - cmDspInst_t* gain = cmDspSysAllocScalarP( h, grpSymId, preLbl, "Gain", 0.0, 1.0, 0.01, sgGain); + cmDspInst_t* shape = cmDspSysAllocScalarP( h, grpSymId, prefixLabel, "Shape", 0.0, 3.0, 1.0, sgShapeId); + cmDspInst_t* hz = cmDspSysAllocScalarP( h, grpSymId, prefixLabel, "Hz", 0.0, 10000.0, 0.01, sgHz); + cmDspInst_t* gain = cmDspSysAllocScalarP( h, grpSymId, prefixLabel, "Gain", 0.0, 1.0, 0.01, sgGain); cmDspInst_t* preset = cmDspSysAllocInst( h, "Preset", NULL, 1, grpSymId ); cmDspInst_t* presetLbl = cmDspSysAllocInst( h, "Text", "Preset", 1, "" );