Delphi ASIO & VST Package: DASIOHost: Class TCustomASIOHostBasic

Delphi ASIO & VST

Class TCustomASIOHostBasic

DescriptionHierarchyFieldsMethodsProperties

Unit

DASIOHost

Declaration

type TCustomASIOHostBasic = class(TComponent)

Description

Hierarchy

  • TComponent
  • TCustomASIOHostBasic

Overview

Fields

Public InputChannelInfos: array of TASIOChannelInfo;
Public OutputChannelInfos: array of TASIOChannelInfo;

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ControlPanel; virtual;
Public procedure Reset; virtual;
Public function GetNumDrivers: integer; virtual;
Public procedure OpenDriver; virtual;
Public procedure CloseDriver; virtual;
Public function CanSampleRate(sampleRate: TASIOSampleRate): TASIOError; virtual;
Public procedure GetOutputGain(Channel, Gain: Integer); virtual;
Public procedure SetInputGain(Channel, Gain: Integer); virtual;

Properties

Public property InputMeter[Channel:Integer]: Integer read GetInputMeter;
Public property OutputMeter[Channel:Integer]: Integer read GetOutputMeter;
Public property Active: Boolean read FActive write SetActive default false;
Public property CanDos : TASIOCanDos read fASIOCanDos write SetASIOCanDos;
Public property DriverName: string read FDriverName write SetDriverName;
Public property DriverVersion: integer read FDriverVersion;
Public property DriverIndex: Integer read FDriverIndex Write SetDriverIndex default -1;
Public property BufferSize: Cardinal read fBufferSize stored false default 1;
Public property BufferMinimum: Integer read Fmin stored false;
Public property BufferMaximum: Integer read Fmax stored false;
Public property BufferPreferredSize: Integer read Fpref stored false;
Public property BufferGranularity: Integer read Fgran stored false;
Public property InputLatency: Integer read FInputLatency stored false default 0;
Public property InputChannelCount: Integer read FInputChannelCount stored false default 0;
Public property OutputLatency: Integer read FOutputLatency stored false default 0;
Public property OutputChannelCount: Integer read FOutputChannelCount stored false default 0;
Public property SampleRate: Double read fSampleRate write SetSampleRate;
Public property ASIOTime: TASIOTimeSub read FASIOTime Write FASIOTime;
Public property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
Public property OnUpdateSamplePos: TSamplePositionUpdateEvent read FOnUpdateSamplePos write FOnUpdateSamplePos;
Public property OnReset: TNotifyEvent read FOnReset write FOnReset;
Public property OnDriverChanged: TNotifyEvent read FOnDriverChanged write FOnDriverChanged;
Public property OnLatencyChanged: TNotifyEvent read FOnLatencyChanged write FOnLatencyChanged;
Public property OnSampleRateChanged: TNotifyEvent read FOnSampleRateChanged write FOnSampleRateChanged;
Public property OnBufferSwitch: TBufferSwitchEventNative read FOnBufferSwitchNative write FOnBufferSwitchNative;
Public property OnBuffersCreate: TNotifyEvent read FOnBuffersCreate write FOnBuffersCreate;
Public property OnBuffersDestroy: TNotifyEvent read FOnBuffersDestroy write FOnBuffersDestroy;
Public property DriverList: TStrings read FDriverList;

Description

Fields

Public InputChannelInfos: array of TASIOChannelInfo;
 
Public OutputChannelInfos: array of TASIOChannelInfo;
 

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure ControlPanel; virtual;
 
Public procedure Reset; virtual;
 
Public function GetNumDrivers: integer; virtual;
 
Public procedure OpenDriver; virtual;
 
Public procedure CloseDriver; virtual;
 
Public function CanSampleRate(sampleRate: TASIOSampleRate): TASIOError; virtual;
 
Public procedure GetOutputGain(Channel, Gain: Integer); virtual;
 
Public procedure SetInputGain(Channel, Gain: Integer); virtual;
 

Properties

Public property InputMeter[Channel:Integer]: Integer read GetInputMeter;
 
Public property OutputMeter[Channel:Integer]: Integer read GetOutputMeter;
 
Public property Active: Boolean read FActive write SetActive default false;
 
Public property CanDos : TASIOCanDos read fASIOCanDos write SetASIOCanDos;
 
Public property DriverName: string read FDriverName write SetDriverName;
 
Public property DriverVersion: integer read FDriverVersion;
 
Public property DriverIndex: Integer read FDriverIndex Write SetDriverIndex default -1;
 
Public property BufferSize: Cardinal read fBufferSize stored false default 1;
 
Public property BufferMinimum: Integer read Fmin stored false;
 
Public property BufferMaximum: Integer read Fmax stored false;
 
Public property BufferPreferredSize: Integer read Fpref stored false;
 
Public property BufferGranularity: Integer read Fgran stored false;
 
Public property InputLatency: Integer read FInputLatency stored false default 0;
 
Public property InputChannelCount: Integer read FInputChannelCount stored false default 0;
 
Public property OutputLatency: Integer read FOutputLatency stored false default 0;
 
Public property OutputChannelCount: Integer read FOutputChannelCount stored false default 0;
 
Public property SampleRate: Double read fSampleRate write SetSampleRate;
 
Public property ASIOTime: TASIOTimeSub read FASIOTime Write FASIOTime;
 
Public property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;
 
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
 
Public property OnUpdateSamplePos: TSamplePositionUpdateEvent read FOnUpdateSamplePos write FOnUpdateSamplePos;
 
Public property OnReset: TNotifyEvent read FOnReset write FOnReset;
 
Public property OnDriverChanged: TNotifyEvent read FOnDriverChanged write FOnDriverChanged;
 
Public property OnLatencyChanged: TNotifyEvent read FOnLatencyChanged write FOnLatencyChanged;
 
Public property OnSampleRateChanged: TNotifyEvent read FOnSampleRateChanged write FOnSampleRateChanged;
 
Public property OnBufferSwitch: TBufferSwitchEventNative read FOnBufferSwitchNative write FOnBufferSwitchNative;
 
Public property OnBuffersCreate: TNotifyEvent read FOnBuffersCreate write FOnBuffersCreate;
 
Public property OnBuffersDestroy: TNotifyEvent read FOnBuffersDestroy write FOnBuffersDestroy;
 
Public property DriverList: TStrings read FDriverList;
 

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