File::findChildFiles problem

I need to filter a directory with this wildcard: T(".wav;.aiff;*.aif").

Unfortunately File::findChildFiles returns an empty file list.

Insted, using only one filter it works,for example: T("*.wav").

Passing the first example of pattern to the FileChooser constructor it works as well…but I also need to parse a dir by hand with File::findChildFiles.

Any suggestion

thanx
juce regards
c.

Yes, it uses the OS’s wildcard parsing, so can only handle a single pattern. You could either call it multiple times, or use a DirectoryIterator to scan all the files, and check each one yourself with a WildcardFileFilter.

Thanx jules!