How to get sample time and rate in the Module constructor?

As simple as that, I’ve surely haven’t slept enough to figure out the answer.
I should access the Engine internal somehow?

If you are in v0.6, it is: engineGetSampleRate() and engineGetSampleTime()
If you are in v1, it is: APP->engine->getSampleRate() and APP->engine->getSampleTime()


Alright thanks, I forgot that we had the APP macro defined.