Youre passed it as a paramter when your instantiated,
just stash it
in the struct.
Thanks for your help!
But... I have added:
typedef struct {
unsigned long SampleRate;
...
} MyPlugin;
and then in runMyPlugin:
...
unsigned long fSampleRate
...
fSampleRate = psMyPlugin->SampleRate;
...
But fSampleRate is always at 0... What am I missing?
Thanks again,
A.