seeing several posts about unique_ptr i tried to apply them in my AudioParameters, so i did the following:
in PluginProcessor.cpp - constructor
Master = std::unique_ptr(new AudioParameterFloat(“masterParam”, “Master”,-6.f, 0.f, 0.f));
This compiles and standalone plugin runs ok but when hitting x button (exit) i get the following exception:
JUCE Message Thread (1): EXC_BAD_ACCESS (code=1, address=0x8)
in juce_ContainerDeletePolicy.h file
The .vst does not run at all
Am i in the correct direction or there is a completely different way to implement processorParameters with unique_ptrs?