DISTRHO Plugin Framework
Variables
State Hints

Variables

static constexpr const uint32_t kStateIsHostReadable = 0x01
 
static constexpr const uint32_t kStateIsHostWritable = 0x02 | kStateIsHostReadable
 
static constexpr const uint32_t kStateIsFilenamePath = 0x04 | kStateIsHostWritable
 
static constexpr const uint32_t kStateIsBase64Blob = 0x08
 
static constexpr const uint32_t kStateIsOnlyForDSP = 0x10
 
static constexpr const uint32_t kStateIsOnlyForUI = 0x20
 

Detailed Description

Various state hints.

See also
State::hints

Variable Documentation

◆ kStateIsHostReadable

constexpr const uint32_t kStateIsHostReadable = 0x01
staticconstexpr

State is visible and readable by hosts that support string-type plugin parameters.

◆ kStateIsHostWritable

constexpr const uint32_t kStateIsHostWritable = 0x02 | kStateIsHostReadable
staticconstexpr

State is writable by the host, allowing users to arbitrarily change the state.
For obvious reasons a writable state is also readable by the host.

◆ kStateIsFilenamePath

constexpr const uint32_t kStateIsFilenamePath = 0x04 | kStateIsHostWritable
staticconstexpr

State is a filename path instead of a regular string.
The readable and writable hints are required for filenames to work, and thus are automatically set.

◆ kStateIsBase64Blob

constexpr const uint32_t kStateIsBase64Blob = 0x08
staticconstexpr

State is a base64 encoded string.

◆ kStateIsOnlyForDSP

constexpr const uint32_t kStateIsOnlyForDSP = 0x10
staticconstexpr

State is for Plugin/DSP side only, meaning there is never a need to notify the UI when it changes.

◆ kStateIsOnlyForUI

constexpr const uint32_t kStateIsOnlyForUI = 0x20
staticconstexpr

State is for UI side only.
If the DSP and UI are separate and the UI is not available, this property won't be saved.