I am experiencing the same issue described in this question: I am writing a command-line program that uses AudioFormatManager, and when I call audioFormatManager.addDefaultFormats()
and then audioFormatManager.getNumFormats()
it returns 0.
The solution provided in that thread is:
Each format can be turned on/off with a flag, using the tickboxes in the introjucer project settings. Maybe you didn’t actually enable any formats?
However, these tickboxes don’t show up in the project settings in Projucer, the way they do in when making an audio plugin. How can I get the audio format mangager to find the common formats with Projucer?