Are GetParameter methods lock-free under the hood?

For both get parameter from DSP (eg: DSP::getParameterInt) and get studio event parameter (eg: Studio::EventInstance::getParameterByName)

If they are not lock-free, is it recommended to use them sparsely?

Hi,

The Getters in the Core API are mostly lock-free, this includes DSP getters. For Studio API all the getters are lock-free. This is done by an async command queue and shadow data system. If you would like to read more about this it can be found under FMOD Studio | White Papers - Studio API Threads and FMOD Studio | White Papers - None Blocking Sound Creation

Hope this helps!

1 Like

Great to hear! Thanks for the answer!