#[repr(u32)]pub enum InfoFlags {
Show 17 variants
Stepped = 1,
Periodic = 2,
Hidden = 4,
Readonly = 8,
Bypass = 16,
Automatable = 32,
AutomatablePerNoteId = 64,
AutomatablePerKey = 128,
AutomatablePerChannel = 256,
AutomatablePerPort = 512,
Modulatable = 1_024,
ModulatablePerNoteId = 2_048,
ModulatablePerKey = 4_096,
ModulatablePerChannel = 8_192,
ModulatablePerPort = 16_384,
RequiresProcess = 32_768,
Enum = 65_536,
}Variants§
Stepped = 1
Is this param stepped? (integer values only) if so the double value is converted to integer using a cast (equivalent to trunc).
Periodic = 2
Useful for periodic parameters like a phase
Hidden = 4
The parameter should not be shown to the user, because it is currently not used. It is not necessary to process automation for this parameter.
Readonly = 8
The parameter can’t be changed by the host.
Bypass = 16
This parameter is used to merge the plugin and host bypass button. It implies that the parameter is stepped. min: 0 -> bypass off max: 1 -> bypass on
Automatable = 32
When set:
- automation can be recorded
- automation can be played back
The host can send live user changes for this parameter regardless of this flag.
If this parameter affects the internal processing structure of the plugin, ie: max delay, fft size, … and the plugins needs to re-allocate its working buffers, then it should call host->request_restart(), and perform the change once the plugin is re-activated.
AutomatablePerNoteId = 64
Does this parameter support per note automations?
AutomatablePerKey = 128
Does this parameter support per key automations?
AutomatablePerChannel = 256
Does this parameter support per channel automations?
AutomatablePerPort = 512
Does this parameter support per port automations?
Modulatable = 1_024
Does this parameter support the modulation signal?
ModulatablePerNoteId = 2_048
Does this parameter support per note modulations?
ModulatablePerKey = 4_096
Does this parameter support per key modulations?
ModulatablePerChannel = 8_192
Does this parameter support per channel modulations?
ModulatablePerPort = 16_384
Does this parameter support per port modulations?
RequiresProcess = 32_768
Any change to this parameter will affect the plugin output and requires to be done via process() if the plugin is active.
A simple example would be a DC Offset, changing it will change the output signal and must be processed.
Enum = 65_536
This parameter represents an enumerated value. If you set this flag, then you must set IsStepped too. All values from min to max must not have a blank value_to_text().