What does ‘const ProcessArgs &args’ do?
This is within the process function, but I can’t see any usage of the &args within the method?
What does ‘const ProcessArgs &args’ do?
This is within the process function, but I can’t see any usage of the &args within the method?
Maybe ask the API documentation:
https://vcvrack.com/docs/structrack_1_1engine_1_1Module_1_1ProcessArgs
It’s up to you to use args.sampleTime and/or args.sampleRate in your code
Yes, the api is declared that way by VCV, so you must have your api match. Some modules actually use the args, some don’t. If you examine the VCV Fundamental modules, many of them use it. For example Fundamental VCO-1 does, I know.