commit 34c2059f2e4d6899b050453e2a90a149d1cb09af parent d10a2e10de23e88ada495b58824081fde7cf436a Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Fri, 6 Jan 2023 16:37:39 +0100 Let the provider also provide the load uri Diffstat:
M | include/clap/factory/draft/preset-discovery.h | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/clap/factory/draft/preset-discovery.h b/include/clap/factory/draft/preset-discovery.h @@ -100,14 +100,14 @@ typedef struct clap_preset_discovery_metadata_receiver { // The path defines a human friendly path to the preset in the container file. It // should be unique within the container file. // - // The preset_id is a machine friendly string used to load the preset inside the container via a - // the preset-load plug-in extension. The preset_id can also just be the path if that's what the + // The load_uri is a machine friendly string used to load the preset inside the container via a + // the preset-load plug-in extension. The load_uri can also just be the path if that's what the // extension wants but it could also be some other unique id like a database primary key or a // binary offset. It's use is entirely up to the plug-in. void(CLAP_ABI *begin_contained_preset)( const struct clap_preset_discovery_metadata_receiver *receiver, const char *path, - const char *preset_id); + const char *load_uri); // Adds a plug-in id that this preset can be used with. // plugin_abi: 0 for CLAP