I was under the impression, that AUv3 can access all files inside the user music directory.
But that does not seem to work for me.
I am targeting Mac/OSX here (not iOS).
I am using the JUCE special locations to find the path to the music directory:
And then I try to list all files inside the directory, using a JUCE
That works fine for normal plugins (AU, VST, VST3). But not for AUv3.
In case of AUv3, the returned file list is always empty.
Here is my code:
File musicDir = File::getSpecialLocation(File::userMusicDirectory); Array<File> childFiles; musicDir.findChildFiles(childFiles, File::findFiles, false, String("*"));
For the AUv3, the childFiles Array is always empty.
What am I missing?