# record TVSTEffect

Description | Hierarchy | Fields | Methods | Properties

## Unit

DVSTEffect

## Declaration

`type TVSTEffect = record`

## Description

## Overview

### Fields

`Magic: array [0..3] of char;`
`Dispatcher: TDispatcherFunc;`
`Process: TProcessProc;`
`SetParameter: TSetParameterProc;`
`GetParameter: TGetParameterFunc;`
`numPrograms: LongInt;`
`numParams: LongInt;`
`numInputs: LongInt;`
`numOutputs: LongInt;`
`EffectFlags: TEffFlags;`
`reservedForHost: Pointer;`
`resvd2: LongInt;`
`InitialDelay: LongInt;`
`RealQualities: LongInt;`
`OffQualities: LongInt;`
`IORatio: LongInt;`
`vObject: Pointer;`
`User: Pointer;`
`UniqueID: LongInt;`
`Version: LongInt;`
`ProcessReplacing: TProcessProc;`
`ProcessDoubleReplacing: TProcessDoubleProc;`
`Future: array[0..55] of Byte;`

## Description

### Fields

`Magic: array [0..3] of char;`

`Dispatcher: TDispatcherFunc;`
must be kEffectMagic ('VstP')

`Process: TProcessProc;`

`SetParameter: TSetParameterProc;`
Not used since 2.4, use ProcessReplacing instead!

`GetParameter: TGetParameterFunc;`

`numPrograms: LongInt;`

`numParams: LongInt;`

`numInputs: LongInt;`
all programs are assumed to have numParams parameters

`numOutputs: LongInt;`

`EffectFlags: TEffFlags;`

`reservedForHost: Pointer;`
see constants

`resvd2: LongInt;`
reserved for Host, must be 0 (Dont use it)

`InitialDelay: LongInt;`
reserved for Host, must be 0 (Dont use it)

`RealQualities: LongInt;`
for algorithms which need input in the first place

`OffQualities: LongInt;`
number of realtime qualities (0: realtime)

`IORatio: LongInt;`
number of offline qualities (0: realtime only)

`vObject: Pointer;`
input samplerate to output samplerate ratio, not used yet

`User: Pointer;`
for class access (see AudioEffect.hpp), MUST be 0 else!

`UniqueID: LongInt;`
user access

`Version: LongInt;`
pls choose 4 character as unique as possible. This is used to identify an effect for save+load

`ProcessReplacing: TProcessProc;`
(example 1100 for version 1.1.0.0)

`ProcessDoubleReplacing: TProcessDoubleProc;`

`Future: array[0..55] of Byte;`

Generated by PasDoc 0.10.0 on 2007-11-13 13:04:19