Skip to content

Commit

Permalink
Add a note regarding the extension id containing draft
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Jan 10, 2024
1 parent ea9cecf commit 12ca18f
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/clap/ext/ambisonic.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
#include "../plugin.h"

// This extension can be used to specify the channel mapping used by the plugin.

static CLAP_CONSTEXPR const char CLAP_EXT_AMBISONIC[] = "clap.ambisonic/3";
//
// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_AMBISONIC[] = "clap.ambisonic.draft/3";

static CLAP_CONSTEXPR const char CLAP_PORT_AMBISONIC[] = "ambisonic";

Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/audio-ports-activation.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
/// Audio ports state is invalidated by clap_plugin_audio_ports_config.select() and
/// clap_host_audio_ports.rescan(CLAP_AUDIO_PORTS_RESCAN_LIST).

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_AUDIO_PORTS_ACTIVATION[] =
"clap.audio-ports-activation/draft-2";

Expand Down
3 changes: 3 additions & 0 deletions include/clap/ext/audio-ports-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
/// extension where all busses can be retrieved in the same way as in the audio-port extension.

static CLAP_CONSTEXPR const char CLAP_EXT_AUDIO_PORTS_CONFIG[] = "clap.audio-ports-config";

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_AUDIO_PORTS_CONFIG_INFO[] =
"clap.audio-ports-config-info/draft-0";

Expand Down
3 changes: 3 additions & 0 deletions include/clap/ext/configurable-audio-ports.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ extern "C" {

// This extension lets the host configure the plugin's input and output audio ports.
// This is a "push" approach to audio ports configuration.

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_CONFIGURABLE_AUDIO_PORTS[] =
"clap.configurable-audio-ports.draft1";

Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/context-menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// This extension lets the host and plugin exchange menu items and let the plugin ask the host to
// show its context menu.

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_CONTEXT_MENU[] = "clap.context-menu.draft/0";

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/param-indication.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// The color semantic depends upon the host here and the goal is to have a consistent experience
// across all plugins.

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_PARAM_INDICATION[] = "clap.param-indication.draft/4";

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/preset-load.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "../plugin.h"

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static const char CLAP_EXT_PRESET_LOAD[] = "clap.preset-load.draft/2";

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/remote-controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
// Pressing that button once gets you to the first page of the section.
// Press it again to cycle through the section's pages.

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_REMOTE_CONTROLS[] = "clap.remote-controls.draft/2";

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions include/clap/ext/surround.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
// 3. host calls clap_plugin_surround->get_channel_map()
// 4. host activates the plugin and can start processing audio

// This extension ID contains `draft', yet it is stable.
// See conventions/extension-id.md for more info.
static CLAP_CONSTEXPR const char CLAP_EXT_SURROUND[] = "clap.surround.draft/4";

static CLAP_CONSTEXPR const char CLAP_PORT_SURROUND[] = "surround";
Expand Down

0 comments on commit 12ca18f

Please sign in to comment.