clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 6aa91906e5b0ece0957b33959d9bdd5265613c13
parent cc0e510df9e2a6c3ba422d29933b8c460a109976
Author: Nico Chatzi <nico.chatzigianis@focusrite.com>
Date:   Thu, 16 Feb 2023 17:02:24 +0000

fix more pedantic typos

Diffstat:
Minclude/clap/events.h | 6+++---
Minclude/clap/ext/audio-ports-config.h | 2+-
Minclude/clap/ext/draft/context-menu.h | 2+-
Minclude/clap/ext/draft/remote-controls.h | 2+-
Minclude/clap/ext/draft/resource-directory.h | 4++--
Minclude/clap/ext/draft/surround.h | 2+-
Minclude/clap/ext/draft/track-info.h | 2+-
Minclude/clap/ext/params.h | 4++--
Minclude/clap/ext/render.h | 2+-
9 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/include/clap/events.h b/include/clap/events.h @@ -54,8 +54,8 @@ enum { // cases: // - a plugin is inside a drum pad in Bitwig Studio's drum machine, and this pad is choked by // another one - // - the user double clicks the DAW's stop button in the transport which then stops the sound on - // every tracks + // - the user double-clicks the DAW's stop button in the transport which then stops the sound on + // every track // // NOTE_END is sent by the plugin to the host. The port, channel, key and note_id are those given // by the host in the NOTE_ON event. In other words, this event is matched against the @@ -221,7 +221,7 @@ typedef struct clap_event_transport { clap_sectime song_pos_seconds; // position in seconds double tempo; // in bpm - double tempo_inc; // tempo increment for each samples and until the next + double tempo_inc; // tempo increment for each sample and until the next // time info event clap_beattime loop_start_beats; diff --git a/include/clap/ext/audio-ports-config.h b/include/clap/ext/audio-ports-config.h @@ -80,7 +80,7 @@ typedef struct clap_plugin_audio_ports_config_info { // [main-thread] clap_id(CLAP_ABI *current_config)(const clap_plugin_t *plugin); - // Get info about about an audio port, for a given config_id. + // Get info about an audio port, for a given config_id. // This is analogous to clap_plugin_audio_ports.get(). // [main-thread] bool(CLAP_ABI *get)(const clap_plugin_t *plugin, diff --git a/include/clap/ext/draft/context-menu.h b/include/clap/ext/draft/context-menu.h @@ -136,7 +136,7 @@ typedef struct clap_host_context_menu { clap_id action_id); // Returns true if the host can display a popup menu for the plugin. - // This may depends upon the current windowing system used to display the plugin, so the + // This may depend upon the current windowing system used to display the plugin, so the // return value is invalidated after creating the plugin window. // [main-thread] bool(CLAP_ABI *can_popup)(const clap_host_t *host); diff --git a/include/clap/ext/draft/remote-controls.h b/include/clap/ext/draft/remote-controls.h @@ -67,7 +67,7 @@ typedef struct clap_host_remote_controls { // [main-thread] void(CLAP_ABI *changed)(const clap_host_t *host); - // Suggest a page to the host because it correspond to what the user is currently editing in the + // Suggest a page to the host because it corresponds to what the user is currently editing in the // plugin's GUI. // [main-thread] void(CLAP_ABI *suggest_page)(const clap_host_t *host, clap_id page_id); diff --git a/include/clap/ext/draft/resource-directory.h b/include/clap/ext/draft/resource-directory.h @@ -50,7 +50,7 @@ typedef struct clap_plugin_resource_directory { // [main-thread] void(CLAP_ABI *set_directory)(const clap_plugin_t *plugin, const char *path, bool is_shared); - // Asks the plugin to put its resources into the resources directory. + // Asks the plugin to put its resources into the resource directory. // It is not necessary to collect files which belongs to the plugin's // factory content unless the param all is true. // [main-thread] @@ -60,7 +60,7 @@ typedef struct clap_plugin_resource_directory { // [main-thread] uint32_t(CLAP_ABI *get_files_count)(const clap_plugin_t *plugin); - // Retrieves relative file path to the resources directory. + // Retrieves relative file path to the resource directory. // @param path writable memory to store the path // @param path_size number of available bytes in path // Returns the number of bytes in the path, or -1 on error diff --git a/include/clap/ext/draft/surround.h b/include/clap/ext/draft/surround.h @@ -54,7 +54,7 @@ enum { }; typedef struct clap_plugin_surround { - // Stores into the channel_map array, the surround identifier of each channels. + // Stores into the channel_map array, the surround identifier of each channel. // Returns the number of elements stored in channel_map. // // config_id: the configuration id, see clap_plugin_audio_ports_config. diff --git a/include/clap/ext/draft/track-info.h b/include/clap/ext/draft/track-info.h @@ -4,7 +4,7 @@ #include "../../color.h" #include "../../string-sizes.h" -// This extensions let the plugin query info about the track it's in. +// This extension let the plugin query info about the track it's in. // It is useful when the plugin is created, to initialize some parameters (mix, dry, wet) // and pick a suitable configuration regarding audio port type and channel count. diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h @@ -120,7 +120,7 @@ enum { // if so the double value is converted to integer using a cast (equivalent to trunc). CLAP_PARAM_IS_STEPPED = 1 << 0, - // Useful for for periodic parameters like a phase + // Useful for periodic parameters like a phase CLAP_PARAM_IS_PERIODIC = 1 << 1, // The parameter should not be shown to the user, because it is currently not used. @@ -191,7 +191,7 @@ typedef struct clap_param_info { clap_param_info_flags flags; // This value is optional and set by the plugin. - // Its purpose is to provide a fast access to the plugin parameter object by caching its pointer. + // Its purpose is to provide fast access to the plugin parameter object by caching its pointer. // For instance: // // in clap_plugin_params.get_info(): diff --git a/include/clap/ext/render.h b/include/clap/ext/render.h @@ -24,7 +24,7 @@ typedef int32_t clap_plugin_render_mode; // If this information does not influence your rendering code, then don't // implement this extension. typedef struct clap_plugin_render { - // Returns true if the plugin has an hard requirement to process in real-time. + // Returns true if the plugin has a hard requirement to process in real-time. // This is especially useful for plugin acting as a proxy to an hardware device. // [main-thread] bool(CLAP_ABI *has_hard_realtime_requirement)(const clap_plugin_t *plugin);