Hi,
I’m new to Juce and I’m very happy with it.
I want to get the sample rate of the DAW in the constructor of the plugin.
I want my main processor class (class MyFirstAudioPluginAudioProcessor : public AudioProcessor) to use the getSampleRate() function in the constructor of the class.
But the function returns 0.
I have tested the plugin in the DAW’s Studio One and in Mainstage(which has basically the same DSP as Logic, I think).
Who can help me?