View Single Post
Old 08-23-2017, 02:16 AM   #11
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 234
Default

Quote:
Originally Posted by olilarkin View Post
a colleague has fixed that problem with fruity loops...will do a clean commit soon, but requires modifying cockos mutex.h so want to check with justin
Nice one! I'm curious why with OnParamChange IPlug suggest to place a lock (even if its already locked by SetParameterFromGUI). A sort of "double lock".

The same apply for example with ProcessMidiMsg: it is called inside VSTDispatcher, which (as before) already lock it.

Correctly, nobody suggest to lock inside ProcessMidiMsg.
Why so on OnParamChange? Incomprehension on "manual"?

I don't think I need to lock also within ProcessMidiMsg...
Nowhk is offline   Reply With Quote