dplug.clap.types

Undocumented in source.

Members

Aliases

clap_beattime
alias clap_beattime = long
Undocumented in source.
clap_event_flags
alias clap_event_flags = int
Undocumented in source.
clap_hwnd
alias clap_hwnd = void*
Undocumented in source.
clap_id
alias clap_id = uint
Undocumented in source.
clap_note_dialect
alias clap_note_dialect = int
Undocumented in source.
clap_note_expression
alias clap_note_expression = int
Undocumented in source.
clap_nsview
alias clap_nsview = void*
Undocumented in source.
clap_param_clear_flags
alias clap_param_clear_flags = uint
Undocumented in source.
clap_param_info_flags
alias clap_param_info_flags = uint
Undocumented in source.
clap_param_rescan_flags
alias clap_param_rescan_flags = uint
Undocumented in source.
clap_preset_discovery_flags
alias clap_preset_discovery_flags = int
Undocumented in source.
clap_preset_discovery_location_kind
alias clap_preset_discovery_location_kind = int
Undocumented in source.
clap_process_status
alias clap_process_status = int
Undocumented in source.
clap_sectime
alias clap_sectime = long
Undocumented in source.
clap_timestamp
alias clap_timestamp = ulong
Undocumented in source.
clap_transport_flags
alias clap_transport_flags = int
Undocumented in source.
clap_xwnd
alias clap_xwnd = c_ulong
Undocumented in source.

Enums

CLAP_AUDIO_PORT_IS_MAIN
anonymousenum CLAP_AUDIO_PORT_IS_MAIN
Undocumented in source.
CLAP_EVENT_IS_LIVE
anonymousenum CLAP_EVENT_IS_LIVE
Undocumented in source.
CLAP_EVENT_NOTE_ON
anonymousenum CLAP_EVENT_NOTE_ON
Undocumented in source.
CLAP_NOTE_DIALECT_CLAP
anonymousenum CLAP_NOTE_DIALECT_CLAP
Undocumented in source.
CLAP_NOTE_EXPRESSION_VOLUME
anonymousenum CLAP_NOTE_EXPRESSION_VOLUME
Undocumented in source.
CLAP_NOTE_PORTS_RESCAN_ALL
anonymousenum CLAP_NOTE_PORTS_RESCAN_ALL
Undocumented in source.
CLAP_PARAM_CLEAR_ALL
anonymousenum CLAP_PARAM_CLEAR_ALL
Undocumented in source.
CLAP_PARAM_IS_STEPPED
anonymousenum CLAP_PARAM_IS_STEPPED
Undocumented in source.
CLAP_PARAM_RESCAN_VALUES
anonymousenum CLAP_PARAM_RESCAN_VALUES
Undocumented in source.
CLAP_PRESET_DISCOVERY_IS_FACTORY_CONTENT
anonymousenum CLAP_PRESET_DISCOVERY_IS_FACTORY_CONTENT
Undocumented in source.
CLAP_PRESET_DISCOVERY_LOCATION_FILE
anonymousenum CLAP_PRESET_DISCOVERY_LOCATION_FILE
Undocumented in source.
CLAP_PROCESS_ERROR
anonymousenum CLAP_PROCESS_ERROR
Undocumented in source.
CLAP_TRANSPORT_HAS_TEMPO
anonymousenum CLAP_TRANSPORT_HAS_TEMPO
Undocumented in source.

Functions

assumeNoOverflow
int assumeNoOverflow(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
clap_factory_templated
const(void)* clap_factory_templated(const(char)* factory_id)
Undocumented in source. Be warned that the author may not have intended to support it.
factory_create_plugin
const(clap_plugin_t)* factory_create_plugin(const(clap_plugin_factory_t)* factory, const(clap_host_t)* host, const(char)* plugin_id)
Undocumented in source. Be warned that the author may not have intended to support it.
factory_get_plugin_count
uint factory_get_plugin_count(const(clap_plugin_factory_t)* factory)
Undocumented in source. Be warned that the author may not have intended to support it.
factory_get_plugin_descriptor
const(clap_plugin_descriptor_t)* factory_get_plugin_descriptor(const(clap_plugin_factory_t)* factory, uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
get_descriptor_from_client
const(clap_plugin_descriptor_t)* get_descriptor_from_client(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
get_preset_dicovery_from_client
const(clap_preset_discovery_provider_descriptor_t)* get_preset_dicovery_from_client(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
preset_discovery_count
uint preset_discovery_count(const(clap_preset_discovery_factory_t)* factory)
Undocumented in source. Be warned that the author may not have intended to support it.
preset_discovery_create
const(clap_preset_discovery_provider_t)* preset_discovery_create(const(clap_preset_discovery_factory_t)* factory, const(clap_preset_discovery_indexer_t)* indexer, const(char)* provider_id)
Undocumented in source. Be warned that the author may not have intended to support it.
preset_discovery_get_descriptor
const(clap_preset_discovery_provider_descriptor_t)* preset_discovery_get_descriptor(const(clap_preset_discovery_factory_t)* factory, uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
readExactly
long readExactly(const(clap_istream_t)* stream, void* buffer, ulong size)
Undocumented in source. Be warned that the author may not have intended to support it.
toBufZ
void toBufZ(char[] buf, const(char)[] source)
Undocumented in source. Be warned that the author may not have intended to support it.
writeExactly
long writeExactly(const(clap_ostream_t)* stream, void* buffer, ulong size)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

CLAP_NAME_SIZE
enum CLAP_NAME_SIZE;
Undocumented in source.
CLAP_PATH_SIZE
enum CLAP_PATH_SIZE;
Undocumented in source.

Static variables

CLAP_EXT_AUDIO_PORTS
string CLAP_EXT_AUDIO_PORTS;
Undocumented in source.
CLAP_PLUGIN_FEATURE_AMBISONIC
auto CLAP_PLUGIN_FEATURE_AMBISONIC;
Undocumented in source.
CLAP_PLUGIN_FEATURE_ANALYZER
auto CLAP_PLUGIN_FEATURE_ANALYZER;
Undocumented in source.
CLAP_PLUGIN_FEATURE_AUDIO_EFFECT
auto CLAP_PLUGIN_FEATURE_AUDIO_EFFECT;
Undocumented in source.
CLAP_PLUGIN_FEATURE_INSTRUMENT
auto CLAP_PLUGIN_FEATURE_INSTRUMENT;
Undocumented in source.
CLAP_PLUGIN_FEATURE_MONO
auto CLAP_PLUGIN_FEATURE_MONO;
Undocumented in source.
CLAP_PLUGIN_FEATURE_NOTE_DETECTOR
auto CLAP_PLUGIN_FEATURE_NOTE_DETECTOR;
Undocumented in source.
CLAP_PLUGIN_FEATURE_NOTE_EFFECT
auto CLAP_PLUGIN_FEATURE_NOTE_EFFECT;
Undocumented in source.
CLAP_PLUGIN_FEATURE_STEREO
auto CLAP_PLUGIN_FEATURE_STEREO;
Undocumented in source.
CLAP_PLUGIN_FEATURE_SURROUND
auto CLAP_PLUGIN_FEATURE_SURROUND;
Undocumented in source.
CLAP_PORT_MONO
string CLAP_PORT_MONO;
Undocumented in source.
CLAP_PORT_STEREO
string CLAP_PORT_STEREO;
Undocumented in source.
CLAP_WINDOW_API_COCOA
string CLAP_WINDOW_API_COCOA;
Undocumented in source.
CLAP_WINDOW_API_WAYLAND
string CLAP_WINDOW_API_WAYLAND;
Undocumented in source.
CLAP_WINDOW_API_WIN32
string CLAP_WINDOW_API_WIN32;

@page GUI

CLAP_WINDOW_API_X11
string CLAP_WINDOW_API_X11;
Undocumented in source.
g_factoryMutex
UncheckedMutex g_factoryMutex;
Undocumented in source.

Structs

clap_audio_buffer_t
struct clap_audio_buffer_t
Undocumented in source.
clap_audio_port_configuration_request_t
struct clap_audio_port_configuration_request_t
Undocumented in source.
clap_audio_port_info_t
struct clap_audio_port_info_t
Undocumented in source.
clap_audio_ports_config_t
struct clap_audio_ports_config_t
Undocumented in source.
clap_color
struct clap_color
Undocumented in source.
clap_event_header_t
struct clap_event_header_t
Undocumented in source.
clap_event_midi2_t
struct clap_event_midi2_t
Undocumented in source.
clap_event_midi_sysex_t
struct clap_event_midi_sysex_t
Undocumented in source.
clap_event_midi_t
struct clap_event_midi_t
Undocumented in source.
clap_event_note_expression_t
struct clap_event_note_expression_t
Undocumented in source.
clap_event_note_t
struct clap_event_note_t
Undocumented in source.
clap_event_param_gesture_t
struct clap_event_param_gesture_t
Undocumented in source.
clap_event_param_mod_t
struct clap_event_param_mod_t
Undocumented in source.
clap_event_param_value_t
struct clap_event_param_value_t
Undocumented in source.
clap_event_transport_t
struct clap_event_transport_t
Undocumented in source.
clap_gui_resize_hints_t
struct clap_gui_resize_hints_t
Undocumented in source.
clap_host_audio_ports_config_t
struct clap_host_audio_ports_config_t
Undocumented in source.
clap_host_gui_t
struct clap_host_gui_t
Undocumented in source.
clap_host_latency_t
struct clap_host_latency_t
Undocumented in source.
clap_host_note_ports_t
struct clap_host_note_ports_t
Undocumented in source.
clap_host_params_t
struct clap_host_params_t
Undocumented in source.
clap_host_preset_load_t
struct clap_host_preset_load_t
Undocumented in source.
clap_host_state_t
struct clap_host_state_t
Undocumented in source.
clap_host_t
struct clap_host_t
Undocumented in source.
clap_host_tail_t
struct clap_host_tail_t
Undocumented in source.
clap_input_events_t
struct clap_input_events_t
Undocumented in source.
clap_istream_t
struct clap_istream_t

@page Streams

clap_note_port_info_t
struct clap_note_port_info_t
Undocumented in source.
clap_ostream_t
struct clap_ostream_t
Undocumented in source.
clap_output_events_t
struct clap_output_events_t
Undocumented in source.
clap_param_info_t
struct clap_param_info_t
Undocumented in source.
clap_plugin_audio_ports_config_info_t
struct clap_plugin_audio_ports_config_info_t
Undocumented in source.
clap_plugin_audio_ports_config_t
struct clap_plugin_audio_ports_config_t
Undocumented in source.
clap_plugin_audio_ports_t
struct clap_plugin_audio_ports_t
Undocumented in source.
clap_plugin_configurable_audio_ports_t
struct clap_plugin_configurable_audio_ports_t
Undocumented in source.
clap_plugin_descriptor_t
struct clap_plugin_descriptor_t
Undocumented in source.
clap_plugin_factory_t
struct clap_plugin_factory_t
Undocumented in source.
clap_plugin_gui_t
struct clap_plugin_gui_t
Undocumented in source.
clap_plugin_latency_t
struct clap_plugin_latency_t
Undocumented in source.
clap_plugin_note_ports_t
struct clap_plugin_note_ports_t
Undocumented in source.
clap_plugin_params_t
struct clap_plugin_params_t
Undocumented in source.
clap_plugin_preset_load_t
struct clap_plugin_preset_load_t
Undocumented in source.
clap_plugin_state_t
struct clap_plugin_state_t
Undocumented in source.
clap_plugin_t
struct clap_plugin_t
Undocumented in source.
clap_plugin_tail_t
struct clap_plugin_tail_t
Undocumented in source.
clap_preset_discovery_factory_t
struct clap_preset_discovery_factory_t
Undocumented in source.
clap_preset_discovery_filetype_t
struct clap_preset_discovery_filetype_t
Undocumented in source.
clap_preset_discovery_indexer_t
struct clap_preset_discovery_indexer_t
Undocumented in source.
clap_preset_discovery_location_t
struct clap_preset_discovery_location_t
Undocumented in source.
clap_preset_discovery_metadata_receiver_t
struct clap_preset_discovery_metadata_receiver_t
Undocumented in source.
clap_preset_discovery_provider_descriptor_t
struct clap_preset_discovery_provider_descriptor_t
Undocumented in source.
clap_preset_discovery_provider_t
struct clap_preset_discovery_provider_t
Undocumented in source.
clap_preset_discovery_soundpack_t
struct clap_preset_discovery_soundpack_t
Undocumented in source.
clap_process_t
struct clap_process_t
Undocumented in source.
clap_universal_plugin_id_t
struct clap_universal_plugin_id_t
Undocumented in source.
clap_window_t
struct clap_window_t
Undocumented in source.

Unions

clap_event_any_t
union clap_event_any_t
Undocumented in source.

Variables

CLAP_BEATTIME_FACTOR
enum long CLAP_BEATTIME_FACTOR;

We use fixed point representation of beat time and seconds time Usage: double x = ...; // in beats clap_beattime y = round(CLAP_BEATTIME_FACTOR * x);

CLAP_CORE_EVENT_SPACE_ID
enum ushort CLAP_CORE_EVENT_SPACE_ID;
Undocumented in source.
CLAP_EXT_AUDIO_PORTS_CONFIG
enum string CLAP_EXT_AUDIO_PORTS_CONFIG;

@page Audio Ports Config

CLAP_EXT_AUDIO_PORTS_CONFIG_INFO
enum string CLAP_EXT_AUDIO_PORTS_CONFIG_INFO;
Undocumented in source.
CLAP_EXT_AUDIO_PORTS_CONFIG_INFO_COMPAT
enum string CLAP_EXT_AUDIO_PORTS_CONFIG_INFO_COMPAT;
Undocumented in source.
CLAP_EXT_CONFIGURABLE_AUDIO_PORTS
enum string CLAP_EXT_CONFIGURABLE_AUDIO_PORTS;
Undocumented in source.
CLAP_EXT_CONFIGURABLE_AUDIO_PORTS_COMPAT
enum string CLAP_EXT_CONFIGURABLE_AUDIO_PORTS_COMPAT;
Undocumented in source.
CLAP_EXT_NOTE_PORTS
enum string CLAP_EXT_NOTE_PORTS;

The plugin is only allowed to change its note ports configuration while it is deactivated.

CLAP_EXT_PRESET_LOAD
enum string CLAP_EXT_PRESET_LOAD;
Undocumented in source.
CLAP_EXT_PRESET_LOAD_COMPAT
enum string CLAP_EXT_PRESET_LOAD_COMPAT;
Undocumented in source.
CLAP_INVALID_ID
enum clap_id CLAP_INVALID_ID;
Undocumented in source.
CLAP_PRESET_DISCOVERY_FACTORY_ID
enum string CLAP_PRESET_DISCOVERY_FACTORY_ID;
Undocumented in source.
CLAP_PRESET_DISCOVERY_FACTORY_ID_COMPAT
enum string CLAP_PRESET_DISCOVERY_FACTORY_ID_COMPAT;
Undocumented in source.
CLAP_SECTIME_FACTOR
enum long CLAP_SECTIME_FACTOR;
Undocumented in source.

Meta