Is it possible to get file location of an AU plugin?

Is it possible to get file location of an AU plugin like is given for an AU plugin. If I have a PluginDescription::fileOrIdentifier, is it possible to go from the identifier to a file?

Are there cases where the AU isn’t located in /Library/Audio/Plug-ins ?

Could be in ~/Library/Audio/Plug-Ins.

You could try File::getSpecialLocation() with currentExecutableFile, currentApplicationFile, invokedExecutableFile or hostApplicationPath, maybe it will return something useful, but I’m not sure.

My advice would be to sweep the default plugin installation paths and see if you get a match.

File::currentExecutableFile should do it.

1 Like

I mean from the host side, not from within the plugin

Ohh I see, looks like the plugin file location isn’t readily available.
All I can think of is to look for it manually :confused: