Closed robbert-vdh closed 2 years ago
Maybe it should be a separate PR, but I also noticed that the return type of IParamValueQueue::add_parameter_data
was incorrect, so I fixed that as well.
And another fix, which fixes cross compilation between WIndows and non-Windows OS'.
I tacked on another fix.
Apparently if you had a pub field in your class, the proc macro would generate a pub function parameter...
This mirrors the VST3 SDK's implementation. In practice using regular integers will not cause any issues since the host will usually not query and destroy interface objects from different threads at the same time, but when using atomics those situations where that does happen are also safe.