int32 preset number
None
int32.label p
int ptrig;
int32_t pval;
int ntrig;
ptrig = 0;
pval = 0;
ntrig = 0;
if ((pval != inlet_preset) & (!ptrig)) {
// outlet_trig = 1;
pval = inlet_preset;
ptrig = 1;
} else {
ptrig = 0;
// outlet_trig = 0;
}
if ((ptrig > 0) && !ntrig) {
parent->ApplyPreset(inlet_preset);
ntrig = 1;
} else if (!(ptrig > 0))
ntrig = 0;
disp_p = inlet_preset;