commit 8bc0faecb7ab661ccf78876bafceb126f8ae4f0f
parent cde87e213ef3cc867fb20b61d03bd1c7ec882a92
Author: Dalton Messmer <33463986+messmerd@users.noreply.github.com>
Date: Fri, 3 Nov 2023 00:00:53 -0400
Clarify return values and fix typo in audio-ports.h
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/clap/ext/audio-ports.h b/include/clap/ext/audio-ports.h
@@ -67,11 +67,12 @@ typedef struct clap_audio_port_info {
// The audio ports scan has to be done while the plugin is deactivated.
typedef struct clap_plugin_audio_ports {
- // number of ports, for either input or output
+ // Number of ports, for either input or output
// [main-thread]
uint32_t(CLAP_ABI *count)(const clap_plugin_t *plugin, bool is_input);
- // get info about about an audio port.
+ // Get info about an audio port.
+ // Returns true on success and stores the result into info.
// [main-thread]
bool(CLAP_ABI *get)(const clap_plugin_t *plugin,
uint32_t index,