|
Dusk Audio Framework
|
Enumerations | |
| enum | SpecialDir { kSpecialDirHome , kSpecialDirConfig , kSpecialDirConfigForPlugin , kSpecialDirDocuments , kSpecialDirDocumentsForPlugin } |
Functions | |
| const char * | getBinaryFilename () |
| const char * | getPluginFormatName () noexcept |
| const char * | getSpecialDir (SpecialDir dir) |
| const char * | getResourcePath (const char *bundlePath) noexcept |
| enum SpecialDir |
List of supported OS-specific directories to be used for getSpecialDir.
| const char * getBinaryFilename | ( | ) |
Get the absolute filename of the plugin DSP/UI binary.
Under certain systems or plugin formats the binary will be inside the plugin bundle.
Also, in some formats or setups, the DSP and UI binaries are in different files.
|
noexcept |
Get a string representation of the current plugin format we are building against.
This can be "AudioUnit", "JACK/Standalone", "LADSPA", "DSSI", "LV2", "VST2", "VST3" or "CLAP".
This string is purely informational and must not be used to tweak plugin behaviour.
| const char * getSpecialDir | ( | SpecialDir | dir | ) |
Get an OS-specific directory.
Calling this function will ensure the dictory exists on the filesystem.
The returned path always includes a final OS separator.
|
noexcept |
Get the path to where resources are stored within the plugin bundle.
Requires a valid plugin bundle path.
Returns a path inside the bundle where the plugin is meant to store its resources in.
This path varies between systems and plugin formats, like so:
The other non-mentioned formats do not support bundles.