IHostCommand

A plugin client can send commands to the host. This interface is injected after the client creation though.

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()

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.

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.

Meta