Home Units Hierarchy Routines All identifiers

Unit unaVC_script

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Contains scripting component to be used in Delphi/C++Builder IDE.

component.

Version 2.5.2008.02 Split from unaVCIDE.pas

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class unavclScriptor The syntax of VC 2.5 Pro script is simple.

Constants

unaScriptorKnownClasses: array[0..9] of unavclInOutPipeClass = ( unavclWaveInDevice, unavclWaveOutDevice, unavclWaveCodecDevice, unavclWaveRiff, unavclWaveMixer, unavclWaveResampler, unavclIPClient, unavclIPServer, unavclIPBroadcastServer, unavclIPBroadcastClient );
unaScriptorKnownCommands: array[0..1] of string = ('clear', 'pause');
unaScriptorKnownProperties: array[0..45] of string = ( 'className', 'name', 'availableDataLenIn', 'availableDataLenOut', 'inBytes', 'outBytes', 'active', 'consumer', 'dumpInput', 'dumpOutput', 'isFormatProvider', 'autoActivate', 'onDataAvailable', 'deviceId', 'formatTag', 'formatTagImmunable', 'mapped', 'direct', 'overNum', 'realTime', 'loop', 'inputIsPcm', 'pcm_SamplesPerSec', 'pcm_BitsPerSample', 'pcm_NumChannels', 'calcVolume', 'addSilence', 'minActiveTime', 'minVolumeLevel', 'isInput', 'fileName', 'dst_SamplesPerSec', 'dst_BitsPerSample', 'dst_NumChannels', 'port', 'host', 'proto', 'waveFormatTag', 'waveSamplesPerSec', 'waveNumChannels', 'waveNumBits', 'packetsSent', 'packetsLost', 'packetsReceived', 'remoteHost', 'remotePort' );
UNAS_HRES_GATEISBUSY = $303 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_INVALIDCOMPONENTINDEX = $321 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_INVALIDPROPERTYVALUE = $313 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_INVALIDSCRIPTSYNTAX = $301 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_NOSUCHCOMPONENT = $311 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_NOSUCHCOMPONENTPROPERTY = $312 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_NOTIMPLEMENTED = $302 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_PROPERTYREADONLY = $314 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);
UNAS_HRES_UNKNOWNCOMMAND = $331 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Description

Constants

unaScriptorKnownClasses: array[0..9] of unavclInOutPipeClass = ( unavclWaveInDevice, unavclWaveOutDevice, unavclWaveCodecDevice, unavclWaveRiff, unavclWaveMixer, unavclWaveResampler, unavclIPClient, unavclIPServer, unavclIPBroadcastServer, unavclIPBroadcastClient );

Classes known to scriptor component.

unaScriptorKnownCommands: array[0..1] of string = ('clear', 'pause');

Known scriptor commands.

unaScriptorKnownProperties: array[0..45] of string = ( 'className', 'name', 'availableDataLenIn', 'availableDataLenOut', 'inBytes', 'outBytes', 'active', 'consumer', 'dumpInput', 'dumpOutput', 'isFormatProvider', 'autoActivate', 'onDataAvailable', 'deviceId', 'formatTag', 'formatTagImmunable', 'mapped', 'direct', 'overNum', 'realTime', 'loop', 'inputIsPcm', 'pcm_SamplesPerSec', 'pcm_BitsPerSample', 'pcm_NumChannels', 'calcVolume', 'addSilence', 'minActiveTime', 'minVolumeLevel', 'isInput', 'fileName', 'dst_SamplesPerSec', 'dst_BitsPerSample', 'dst_NumChannels', 'port', 'host', 'proto', 'waveFormatTag', 'waveSamplesPerSec', 'waveNumChannels', 'waveNumBits', 'packetsSent', 'packetsLost', 'packetsReceived', 'remoteHost', 'remotePort' );

Components' properties known to scriptor.

UNAS_HRES_GATEISBUSY = $303 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Feature not implemented

UNAS_HRES_INVALIDCOMPONENTINDEX = $321 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Property is read-only

UNAS_HRES_INVALIDPROPERTYVALUE = $313 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Property not found

UNAS_HRES_INVALIDSCRIPTSYNTAX = $301 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

————————– – scriptor component – ————————– result codes

UNAS_HRES_NOSUCHCOMPONENT = $311 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Script is busy

UNAS_HRES_NOSUCHCOMPONENTPROPERTY = $312 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Component not found

UNAS_HRES_NOTIMPLEMENTED = $302 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Invalid script syntax

UNAS_HRES_PROPERTYREADONLY = $314 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Invalid property value

UNAS_HRES_UNKNOWNCOMMAND = $331 or (SEVERITY_ERROR shl 31) or (FACILITY_ITF shl 16);

Invalid component index

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09