Struct vst2::api::AEffect [] [src]

#[repr(C)]
pub struct AEffect { pub magic: i32, pub dispatcher: DispatcherProc, pub _process: ProcessProc, pub setParameter: SetParameterProc, pub getParameter: GetParameterProc, pub numPrograms: i32, pub numParams: i32, pub numInputs: i32, pub numOutputs: i32, pub flags: i32, pub reserved1: isize, pub reserved2: isize, pub initialDelay: i32, pub _realQualities: i32, pub _offQualities: i32, pub _ioRatio: f32, pub object: *mut c_void, pub user: *mut c_void, pub uniqueId: i32, pub version: i32, pub processReplacing: ProcessProc, pub processReplacingF64: ProcessProcF64, pub future: [u8; 56], }

Used with the VST API to pass around plugin information.

Fields

Magic number. Must be ['V', 'S', 'T', 'P'].

Host to plug-in dispatcher.

Accumulating process mode is deprecated in VST 2.4! Use processReplacing instead!

Set value of automatable parameter.

Get value of automatable parameter.

Number of programs (Presets).

Number of parameters. All programs are assumed to have this many parameters.

Number of audio inputs.

Number of audio outputs.

Bitmask made of values from api::flags.

use vst2::api::flags;
let flags = flags::CAN_REPLACING | flags::CAN_DOUBLE_REPLACING;
// ...

Reserved for host, must be 0.

Reserved for host, must be 0.

For algorithms which need input in the first place (Group delay or latency in samples).

This value should be initially in a resume state.

Deprecated unused member.

Deprecated unused member.

Deprecated unused member.

Void pointer usable by api to store object data.

User defined pointer.

Registered unique identifier (register it at Steinberg 3rd party support Web). This is used to identify a plug-in during save+load of preset and project.

Plug-in version (e.g. 1100 for v1.1.0.0).

Process audio samples in replacing mode.

Process double-precision audio samples in replacing mode.

Reserved for future use (please zero).

Methods

impl AEffect
[src]

Return handle to Plugin object. Only works for plugins created using this library.

Drop the Plugin object. Only works for plugins created using this library.