CLAPHost

Undocumented in source.

Constructors

this
this(CLAPClient backRef, const(clap_host_t)* host)
Undocumented in source.

Members

Functions

beginParamEdit
void beginParamEdit(int paramIndex)

Notifies the host that editing of a parameter has begun from UI side.

endParamEdit
void endParamEdit(int paramIndex)

Notifies the host that editing of a parameter has finished from UI side.

getDAW
DAW getDAW()
Undocumented in source. Be warned that the author may not have intended to support it.
getPluginFormat
PluginFormat getPluginFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyLatencyChanged
bool notifyLatencyChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyPresetError
void notifyPresetError(uint location_kind, const(char)* location, const(char)* load_key, int os_error, const(char)* msg)
Undocumented in source. Be warned that the author may not have intended to support it.
notifyPresetLoaded
void notifyPresetLoaded(uint location_kind, const(char)* location, const(char)* load_key)
Undocumented in source. Be warned that the author may not have intended to support it.
notifyRequestFlush
void notifyRequestFlush()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyRequestParamRescan
void notifyRequestParamRescan(clap_param_rescan_flags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
notifyResized
bool notifyResized()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyTailChanged
bool notifyTailChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
paramAutomate
void paramAutomate(int paramIndex, float value)

Notifies the host that a parameter was edited from the UI side. This enables the host to record automation. It is illegal to call paramAutomate outside of a beginParamEdit/endParamEdit pair.

requestResize
bool requestResize(int widthLogicalPixels, int heightLogicalPixels)

Requests to the host a resize of the plugin window's PARENT window, given logical pixels of plugin window.

Variables

_backRef
CLAPClient _backRef;
Undocumented in source.
_host
const(clap_host_t)* _host;
Undocumented in source.
_host_gui
const(clap_host_gui_t)* _host_gui;
Undocumented in source.
_host_latency
const(clap_host_latency_t)* _host_latency;
Undocumented in source.
_host_params
const(clap_host_params_t)* _host_params;
Undocumented in source.
_host_preset
const(clap_host_preset_load_t)* _host_preset;
Undocumented in source.
_host_tail
const(clap_host_tail_t)* _host_tail;
Undocumented in source.

Inherited Members

From IHostCommand

beginParamEdit
void beginParamEdit(int paramIndex)

Notifies the host that editing of a parameter has begun from UI side.

paramAutomate
void paramAutomate(int paramIndex, float value)

Notifies the host that a parameter was edited from the UI side. This enables the host to record automation. It is illegal to call paramAutomate outside of a beginParamEdit/endParamEdit pair.

endParamEdit
void endParamEdit(int paramIndex)

Notifies the host that editing of a parameter has finished from UI side.

requestResize
bool requestResize(int widthLogicalPixels, int heightLogicalPixels)

Requests to the host a resize of the plugin window's PARENT window, given logical pixels of plugin window.

notifyResized
bool notifyResized()

Tells the host that the plugin window HAS resized already, and the parent need to update. Only useful for FL Studio own plugin format right now. To be useful, the requestResize must return false for this format, so that manual resize is performed.

getDAW
DAW getDAW()

Report the identied host name (DAW). MAYDO: not available for LV2.

getPluginFormat
PluginFormat getPluginFormat()

Gets the plugin format used at runtime. Version identifier may not be enough in the future, in case of unity builds.

Meta