Replies: 1 comment 3 replies
-
You get the preset discovery factory from the clap entry. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The description in the header's header:
doesn't fully describe the functions exposed by the factory.
I guess that clap_preset_discovery_factory.get_descriptor() should (could?) be used to determine which of the possibly multiple preset providers should be created. Is that about right?
I guess that the provider ID passed to clap_preset_discovery_factory.create() should match the one used to create the Plugin in clap_plugin_factory.create_plugin(). Would make sense. It isn't documented, however. If I'm correct, then ... isn't get_descriptor() completely superfluous?
Beta Was this translation helpful? Give feedback.
All reactions