# Class TCustomASIOHostBasic

Description | Hierarchy | Fields | Methods | Properties

## Unit

DASIOHost

## Declaration

`type TCustomASIOHostBasic = class(TComponent)`

## Description

## Hierarchy

- TComponent
- TCustomASIOHostBasic

## Overview

### Fields

| `InputChannelInfos: array of TASIOChannelInfo;`
| `OutputChannelInfos: array of TASIOChannelInfo;`

### Methods

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

### Properties

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

## Description

### Fields

| `InputChannelInfos: array of TASIOChannelInfo;`

| `OutputChannelInfos: array of TASIOChannelInfo;`

### Methods

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

| `destructor Destroy; override;`

| `procedure ControlPanel; virtual;`

| `procedure Reset; virtual;`

| `function GetNumDrivers: integer; virtual;`

| `procedure OpenDriver; virtual;`

| `procedure CloseDriver; virtual;`

| `function CanSampleRate(sampleRate: TASIOSampleRate): TASIOError; virtual;`

| `procedure GetOutputGain(Channel, Gain: Integer); virtual;`

| `procedure SetInputGain(Channel, Gain: Integer); virtual;`

### Properties

| `property InputMeter[Channel:Integer]: Integer read GetInputMeter;`

| `property OutputMeter[Channel:Integer]: Integer read GetOutputMeter;`

| `property Active: Boolean read FActive write SetActive default false;`

| `property CanDos : TASIOCanDos read fASIOCanDos write SetASIOCanDos;`

| `property DriverName: string read FDriverName write SetDriverName;`

| `property DriverVersion: integer read FDriverVersion;`

| `property DriverIndex: Integer read FDriverIndex Write SetDriverIndex default -1;`

| `property BufferSize: Cardinal read fBufferSize stored false default 1;`

| `property BufferMinimum: Integer read Fmin stored false;`

| `property BufferMaximum: Integer read Fmax stored false;`

| `property BufferPreferredSize: Integer read Fpref stored false;`

| `property BufferGranularity: Integer read Fgran stored false;`

| `property InputLatency: Integer read FInputLatency stored false default 0;`

| `property InputChannelCount: Integer read FInputChannelCount stored false default 0;`

| `property OutputLatency: Integer read FOutputLatency stored false default 0;`

| `property OutputChannelCount: Integer read FOutputChannelCount stored false default 0;`

| `property SampleRate: Double read fSampleRate write SetSampleRate;`

| `property ASIOTime: TASIOTimeSub read FASIOTime Write FASIOTime;`

| `property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;`

| `property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;`

| `property OnUpdateSamplePos: TSamplePositionUpdateEvent read FOnUpdateSamplePos write FOnUpdateSamplePos;`

| `property OnReset: TNotifyEvent read FOnReset write FOnReset;`

| `property OnDriverChanged: TNotifyEvent read FOnDriverChanged write FOnDriverChanged;`

| `property OnLatencyChanged: TNotifyEvent read FOnLatencyChanged write FOnLatencyChanged;`

| `property OnSampleRateChanged: TNotifyEvent read FOnSampleRateChanged write FOnSampleRateChanged;`

| `property OnBufferSwitch: TBufferSwitchEventNative read FOnBufferSwitchNative write FOnBufferSwitchNative;`

| `property OnBuffersCreate: TNotifyEvent read FOnBuffersCreate write FOnBuffersCreate;`

| `property OnBuffersDestroy: TNotifyEvent read FOnBuffersDestroy write FOnBuffersDestroy;`

| `property DriverList: TStrings read FDriverList;`

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