I am trying to build a standalone app for my plugin solely for debug purposes. I do not receive audio input from my audio device. The system is: macOS Mojave 10.14.5 (18F132).
I have created the plugin via Projucer, with the “Standalone” plugin format selected. I’m currently just using the bare-bones Application that was auto generated. I have clicked the button where it says that audio input is muted to avoid feedback, and unchecked the “mute audio input button”. In the panel, no matter which input channels I choose, the meter next to the input selector (where audio interface is selected) shows no incoming audio. Of course the correct interface is selected.
The plugin’s processBlock is called, but with all samples equal to zero. It works in the AudioPlugInHost project, and also loading the plugin in a DAW reveals that it receives audio. It’s only in the Standalone target in the Plugin project it doesn’t work.
I have a feeling this is an issue with access to the microphone, because in my system preferences I see now that the DemoRunner and AudioPluginHost applications are given access to the microphone, but not my standalone app.
Unfortunately I can not use the AudioPluginHost for debugging, because the plugin requires the transport to move, while the AudioPluginHost provides no transport. Therefore I have to tweak my standalone app to provide a moving transport (I believe it’s less complicated than the AudioPluginHost), but currently, before tweaking, the plugin receives no audio at all.