cwIoPresetSelApp.cpp : Fix formatting problems.

This commit is contained in:
kevin 2023-01-30 19:35:28 -05:00
parent 7444044c05
commit 59647d4e58

View File

@ -919,7 +919,6 @@ namespace cw
{
rc_t rc = kOkRC;
// if
if( fragEndLoc == kInvalidId )
{
// get the endLoc associated with this fragment
@ -962,13 +961,12 @@ namespace cw
rc_t _update_frag_ui(app_t* app, unsigned fragId )
{
// Notes:
// uiChanId = fragId for panel values
// or uiChanId = preset_index for preset values
// uiChanId = fragId for panel values or uiChanId = preset_index for preset values
rc_t rc = kOkRC;
unsigned endLoc;
// get the endLoc for this fragment
// Get the endLoc for this fragment
if((rc = _frag_id_to_endloc(app, fragId, endLoc )) == kOkRC )
{
unsigned uValue;
@ -1199,7 +1197,7 @@ namespace cw
// Make the fragment panel clickable
io::uiSetClickable( app->ioH, fragPanelUuId);
// Set the fragment panel order
// Set the fragment panel order.
io::uiSetOrderKey( app->ioH, fragPanelUuId, endLoc );
// Set the fragment beg/end play range
@ -2378,6 +2376,7 @@ cw::rc_t cw::preset_sel_app::main( const object_t* cfg, int argc, const char* ar
rc_t rc;
app_t app = { .hpDelayMs=250, .hpPedalVel=127, .hpPitch=64, .hpVel=64, .hpDurMs=500, .hpDnDelayMs=1000,
.trackMidiFl = true,
.audioFileSrcFl = true,
.pvWndSmpCnt = 512,
.sdBypassFl = false,
.sdInGain = 1.0,
@ -2387,7 +2386,7 @@ cw::rc_t cw::preset_sel_app::main( const object_t* cfg, int argc, const char* ar
.sdUpr = -1.1,
.sdLwr = 2.0,
.sdMix = 0.0,
.cmpBypassFl = false
.cmpBypassFl = false,
};
const object_t* params_cfg = nullptr;