Arbitrary Parameter Data
Hi,
A quick question about adding multiple arbitrary parameters.
Do you create a single struct/class containing all your data for ALL your arb params, or do you have a struct/class per arb param?
e.g.
// Single struct with data for two arbitrary parameters
struct AllMyArbsData {
A_long arb_1_fooL;
PF_FpLong arb_1_barF;
A_char arb_2_textC[128];
}
// or... Two structs with data for each arb param separately
struct Arb1Data {
A_long arb_1_fooL;
PF_FpLong arb_1_barF;
}
struct Arb2Data {
A_char arb_2_textC[128];
}
It's unclear from the example projects how to handle multiple arb params. The callbacks for setting dephault, print, etc. don't check for a given parameter ID. Of course in the examples there is only the one arb parameter... I'm not at my dev computer at the moment so can't check, but, for example CreateDefaultArb doesn't have an extra parameter, so there's no way of checking which arb is being referenced.
Thanks, C