I am trying to scan for new AudioUnits (and only these, as I don’t want to rescan old ones).
Tracing through the PluginDirectoryScanner code, I don’t understand how this can work. For AudioUnits the fileOrIdentifier is not a file, but a AU description. Then getPluginFileModTime() always returns the current time, which means that AudioUnits are always rescanned, regardless of their modification time.
Or am I missing something ?