cwIoPresetSelApp.cpp : Comment out half-pedal test code.

This commit is contained in:
kevin 2022-08-27 16:11:44 -04:00
parent 065bcc1a89
commit 92af6e4110

View File

@ -69,13 +69,15 @@ namespace cw
kStatusId, kStatusId,
/*
kHalfPedalPedalVel, kHalfPedalPedalVel,
kHalfPedalDelayMs, kHalfPedalDelayMs,
kHalfPedalPitch, kHalfPedalPitch,
kHalfPedalVel, kHalfPedalVel,
kHalfPedalDurMs, kHalfPedalDurMs,
kHalfPedalDnDelayMs, kHalfPedalDnDelayMs,
*/
kLogId, kLogId,
kFragListId, kFragListId,
@ -151,13 +153,14 @@ namespace cw
{ kPanelDivId, kInsertBtnId, "insertBtnId" }, { kPanelDivId, kInsertBtnId, "insertBtnId" },
{ kPanelDivId, kDeleteBtnId, "deleteBtnId" }, { kPanelDivId, kDeleteBtnId, "deleteBtnId" },
/*
{ kPanelDivId, kHalfPedalPedalVel, "halfPedalPedalVelId" }, { kPanelDivId, kHalfPedalPedalVel, "halfPedalPedalVelId" },
{ kPanelDivId, kHalfPedalDelayMs, "halfPedalDelayMsId" }, { kPanelDivId, kHalfPedalDelayMs, "halfPedalDelayMsId" },
{ kPanelDivId, kHalfPedalPitch, "halfPedalPitchId" }, { kPanelDivId, kHalfPedalPitch, "halfPedalPitchId" },
{ kPanelDivId, kHalfPedalVel, "halfPedalVelId" }, { kPanelDivId, kHalfPedalVel, "halfPedalVelId" },
{ kPanelDivId, kHalfPedalDurMs, "halfPedalDurMsId" }, { kPanelDivId, kHalfPedalDurMs, "halfPedalDurMsId" },
{ kPanelDivId, kHalfPedalDnDelayMs, "halfPedalDnDelayMsId" }, { kPanelDivId, kHalfPedalDnDelayMs, "halfPedalDnDelayMsId" },
*/
{ kPanelDivId, kStatusId, "statusId" }, { kPanelDivId, kStatusId, "statusId" },
{ kPanelDivId, kLogId, "logId" }, { kPanelDivId, kLogId, "logId" },
@ -503,7 +506,7 @@ namespace cw
goto errLabel; goto errLabel;
} }
midi_record_play::half_pedal_params( app->mrpH, app->hpDelayMs, app->hpPitch, app->hpVel, app->hpPedalVel, app->hpDurMs, app->hpDnDelayMs ); //midi_record_play::half_pedal_params( app->mrpH, app->hpDelayMs, app->hpPitch, app->hpVel, app->hpPedalVel, app->hpDurMs, app->hpDnDelayMs );
if((begMap = _find_loc(app,begLoc)) == nullptr ) if((begMap = _find_loc(app,begLoc)) == nullptr )
@ -1461,6 +1464,7 @@ namespace cw
return rc; return rc;
} }
/*
rc_t _on_ui_half_pedal_value( app_t* app, unsigned appId, unsigned uuId, unsigned value ) rc_t _on_ui_half_pedal_value( app_t* app, unsigned appId, unsigned uuId, unsigned value )
{ {
switch( appId ) switch( appId )
@ -1495,7 +1499,7 @@ namespace cw
} }
return kOkRC; return kOkRC;
} }
rc_t _on_echo_half_pedal( app_t* app, unsigned appId, unsigned uuId ) rc_t _on_echo_half_pedal( app_t* app, unsigned appId, unsigned uuId )
{ {
switch( appId ) switch( appId )
@ -1530,7 +1534,7 @@ namespace cw
} }
return kOkRC; return kOkRC;
} }
*/
rc_t _onUiInit(app_t* app, const io::ui_msg_t& m ) rc_t _onUiInit(app_t* app, const io::ui_msg_t& m )
{ {
@ -1647,6 +1651,7 @@ namespace cw
_on_ui_delete_btn(app); _on_ui_delete_btn(app);
break; break;
/*
case kHalfPedalPedalVel: case kHalfPedalPedalVel:
case kHalfPedalDelayMs: case kHalfPedalDelayMs:
case kHalfPedalPitch: case kHalfPedalPitch:
@ -1655,6 +1660,7 @@ namespace cw
case kHalfPedalDnDelayMs: case kHalfPedalDnDelayMs:
_on_ui_half_pedal_value( app, m.appId, m.uuId, m.value->u.u ); _on_ui_half_pedal_value( app, m.appId, m.uuId, m.value->u.u );
break; break;
*/
case kFragInGainId: case kFragInGainId:
_on_ui_frag_value( app, m.uuId, m.value->u.d); _on_ui_frag_value( app, m.uuId, m.value->u.d);
@ -1794,6 +1800,7 @@ namespace cw
_on_echo_master_value( app, preset_sel::kMasterSyncDelayMsVarId, m.uuId ); _on_echo_master_value( app, preset_sel::kMasterSyncDelayMsVarId, m.uuId );
break; break;
/*
case kHalfPedalPedalVel: case kHalfPedalPedalVel:
case kHalfPedalDelayMs: case kHalfPedalDelayMs:
case kHalfPedalPitch: case kHalfPedalPitch:
@ -1802,7 +1809,7 @@ namespace cw
case kHalfPedalDnDelayMs: case kHalfPedalDnDelayMs:
_on_echo_half_pedal( app, m.appId, m.uuId ); _on_echo_half_pedal( app, m.appId, m.uuId );
break; break;
*/
} }
return rc; return rc;