How do I make an audio plugin's GUI slider retain it's state?



I can make an audio plugin parameter retain it’s value by using getStateInformation() and setStateInformation(); But how do I make an audio plugin’s GUI slider retain it’s state also?


Generally, you need to update your sliders from your audio parameters.

One way is shown in this tutorial:


Thanks for the help.