Audio settings window, when invoked from a plugin does not seem to allow playing or recording sounds

Dear all,
I am facing this strange problem across multiple computers. The audio settings window, when invoked from a plugin does not seem to allow playing or recording sounds even though the devices are recognized, while at the same time at the same computer the audio settings window from the Demo app work as expected.

Is there something I have to manually add to the code? It is a standalone app on windows.
Thanks

Still stuck with this. Any ideas?

You are not supposed to access the AudioIODevice/AudioDeviceManager in a plugin. All audio is routed through the host. You get the samples through the juce::AudioBuffer argument in processBlock()

Having said that, I used that in a plugin in the past as audition functionality separated from the regular audio processing and it worked (on Mac, didn’t test Windows).

If e.g. the audio driver is set to an exclusive mode by the host your call to the AudioDeviceManager would not be able to connect.