LMMS
Loading...
Searching...
No Matches
_LV2_Options_Interface Struct Reference

#include <options.h>

Public Attributes

uint32_t(* get )(LV2_Handle instance, LV2_Options_Option *options)
uint32_t(* set )(LV2_Handle instance, const LV2_Options_Option *options)

Detailed Description

Interface for dynamically setting options (LV2_OPTIONS__interface).

Member Data Documentation

◆ get

uint32_t(* _LV2_Options_Interface::get)(LV2_Handle instance, LV2_Options_Option *options)

Get the given options.

Each element of the passed options array MUST have type, subject, and key set. All other fields (size, type, value) MUST be initialised to zero, and are set to the option value if such an option is found.

This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.

Returns
Bitwise OR of LV2_Options_Status values.

◆ set

uint32_t(* _LV2_Options_Interface::set)(LV2_Handle instance, const LV2_Options_Option *options)

Set the given options.

This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.

Returns
Bitwise OR of LV2_Options_Status values.

The documentation for this struct was generated from the following files: