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


#1

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?


#2

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


#3

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


#4

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.


#5

File::currentExecutableFile should do it.


#6

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


#7

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: