Scanning AudioUnits


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 ?



Unlike VSTs, AUs aren’t handled as files - you can’t get really search for them, you just ask the OS for the list, and it gives it to you…

Yes, I figured that. So there is no way to know which ones have changed ?

Don’t think so… I guess you could ask them for their version number?