LV2_Options_Option

An option.

This is a property with a subject, also known as a triple or statement.

This struct is useful anywhere a statement needs to be passed where no memory ownership issues are present (since the value is a const pointer).

Options can be passed to an instance via the feature LV2_OPTIONS__options with data pointed to an array of options terminated by a zeroed option, or accessed/manipulated using LV2_Options_Interface.

Members

Variables

context
LV2_Options_Context context;

< Context (type of subject).

key
LV2_URID key;

< Key (property).

size
uint32_t size;

< Size of value in bytes.

subject
uint32_t subject;

< Subject.

type
LV2_URID type;

< Type of value (datatype).

value
void* value;

< Pointer to value (object).

Meta