I’m trying to enumerate a few audio files on disk and am trying to combine two functions in juce, but I can’t get it to work.
- Getting a proper wildcard from AudioFileManager::getWildcardForAllFormats() I get a string of the format [color=#008000].wav;.aiff;*.bwf[/color] etc…
- Enumerating such files using the File::findChildFiles(…) with said wildcard.
Unfortunately I don’t get the expected returns. Are the two wildcard formats incompatible?
(If in findChildFiles I use the wildcard [color=#008000].[/color] I get the lot so it appear to be the wildcard.)
Grateful for your insight