# Class TBasicVSTModule

Description | Hierarchy | Fields | Methods | Properties

## Unit

DVSTBasicModule

## Declaration

`type TBasicVSTModule = class(TDataModule)`

## Description

-$DEFINE Debug

## Hierarchy

- TDataModule
- TBasicVSTModule

## Overview

### Methods

| `constructor Create(AOwner: TComponent); override;`
| `procedure HostCallProcess(const Inputs, Outputs: PPSingle; const SampleFrames: Integer); virtual; abstract;`
| `procedure HostCallProcessReplacing(const Inputs, Outputs: PPSingle; const SampleFrames: Integer); virtual; abstract;`
| `procedure HostCallProcessDoubleReplacing(const Inputs, Outputs: PPDouble; const SampleFrames: Integer); virtual; abstract;`
| `function HostCallGetParameter(Index: Integer): Single; virtual; abstract;`
| `procedure HostCallSetParameter(Index: Integer; Value: Single); virtual; abstract;`
| `procedure HostCallDispatchEffect(opcode : TDispatcherOpcode; Index, Value: Integer; ptr: pointer; opt: Single); virtual; abstract;`
| `function HostCallOpen (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallClose (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetProgramm (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetProgramm (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetParamLabel (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetParamDisplay (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetParamName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetVu (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetSampleRate (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetBlockSize (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallMainsChanged (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditGetRect (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditOpen (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditClose (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditDraw (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditMouse (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditKey (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditIdle (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditTop (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditSleep (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallIdentify (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetChunk (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetChunk (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallProcessEvents (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallCanBeAutomated (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallString2Parameter (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetNumProgramCategories (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetProgramNameIndexed (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallCopyProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallConnectInput (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallConnectOutput (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetInputProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetOutputProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetPlugCategory (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetCurrentPosition (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetDestinationBuffer (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallOfflineNotify (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallOfflinePrepare (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallOfflineRun (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallProcessVarIo (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetSpeakerArrangement (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetBlockSizeAndSampleRate (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetBypass (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetEffectName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetErrorText (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetVendorString (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetProductString (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetVendorVersion (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallVendorSpecific (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallCanDo (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetTailSize (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallIdle (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetIcon (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetViewPosition (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetParameterProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallKeysRequired (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetVstVersion (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditKeyDown (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEditKeyUp (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetEditKnobMode (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetMidiProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetCurrentMidiProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetMidiProgramCategory (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallHasMidiProgramsChanged (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetMidiKeyName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallBeginSetProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallEndSetProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetSpeakerArrangement (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallShellGetNextPlugin (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallStartProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallStopProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetTotalSampleToProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetPanLaw (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallBeginLoadBank (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallBeginLoadProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallSetProcessPrecision (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetNumMidiInputChannels (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`
| `function HostCallGetNumMidiOutputChannels (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

### Properties

| `property Effect: PVSTEffect read GetEffect;`
| `property AudioMaster: TAudioMasterCallbackFunc read FAudioMaster write SetAudioMaster;`

## Description

### Methods

| `constructor Create(AOwner: TComponent); override;`

| `procedure HostCallProcess(const Inputs, Outputs: PPSingle; const SampleFrames: Integer); virtual; abstract;`

| `procedure HostCallProcessReplacing(const Inputs, Outputs: PPSingle; const SampleFrames: Integer); virtual; abstract;`

| `procedure HostCallProcessDoubleReplacing(const Inputs, Outputs: PPDouble; const SampleFrames: Integer); virtual; abstract;`

| `function HostCallGetParameter(Index: Integer): Single; virtual; abstract;`

| `procedure HostCallSetParameter(Index: Integer; Value: Single); virtual; abstract;`

| `procedure HostCallDispatchEffect(opcode : TDispatcherOpcode; Index, Value: Integer; ptr: pointer; opt: Single); virtual; abstract;`

| `function HostCallOpen (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallClose (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetProgramm (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetProgramm (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetParamLabel (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetParamDisplay (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetParamName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetVu (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetSampleRate (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetBlockSize (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallMainsChanged (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditGetRect (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditOpen (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditClose (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditDraw (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditMouse (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditKey (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditIdle (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditTop (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditSleep (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallIdentify (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetChunk (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetChunk (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallProcessEvents (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallCanBeAutomated (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallString2Parameter (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetNumProgramCategories (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetProgramNameIndexed (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallCopyProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallConnectInput (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallConnectOutput (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetInputProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetOutputProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetPlugCategory (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetCurrentPosition (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetDestinationBuffer (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallOfflineNotify (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallOfflinePrepare (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallOfflineRun (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallProcessVarIo (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetSpeakerArrangement (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetBlockSizeAndSampleRate (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetBypass (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetEffectName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetErrorText (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetVendorString (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetProductString (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetVendorVersion (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallVendorSpecific (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallCanDo (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetTailSize (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallIdle (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetIcon (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetViewPosition (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetParameterProperties (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallKeysRequired (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetVstVersion (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditKeyDown (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEditKeyUp (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetEditKnobMode (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetMidiProgramName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetCurrentMidiProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetMidiProgramCategory (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallHasMidiProgramsChanged (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetMidiKeyName (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallBeginSetProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallEndSetProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetSpeakerArrangement (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallShellGetNextPlugin (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallStartProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallStopProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetTotalSampleToProcess (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetPanLaw (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallBeginLoadBank (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallBeginLoadProgram (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallSetProcessPrecision (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetNumMidiInputChannels (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

| `function HostCallGetNumMidiOutputChannels (Index, Value: Integer; ptr: pointer; opt: Single): Integer; virtual;`

### Properties

| `property Effect: PVSTEffect read GetEffect;`

| `property AudioMaster: TAudioMasterCallbackFunc read FAudioMaster write SetAudioMaster;`

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