Home Units Hierarchy Routines All identifiers

Unit unaVCIDEutils

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Utility functions for VC and VCL classes.

Version 2.5.2008.07 Still here

Version 2.5.2012.03 +ASIO

Uses

Overview

Functions and Procedures

procedure enumWaveDevices(list: tCustomListControl; enumWaveIn: bool = true; includeMapper: bool = true; callback: proc_waveDeviceEnumCallback = nil; engine: unavcWaveEngine = unavcwe_MME; obj: pointer = nil);
function index2deviceId(list: tCustomListControl): int; overload;
function index2deviceId(index: int; includesMapper: bool): int; overload;
function deviceId2index(deviceId: int; includeMapper: bool = true): int;

Types

proc_waveDeviceEnumCallback = procedure(obj: pointer; caps: pointer; isInput: bool; var name: wString; deviceId: unsigned; var okToAdd: bool); stdcall;

Description

Functions and Procedures

procedure enumWaveDevices(list: tCustomListControl; enumWaveIn: bool = true; includeMapper: bool = true; callback: proc_waveDeviceEnumCallback = nil; engine: unavcWaveEngine = unavcwe_MME; obj: pointer = nil);

Enumerates waveIn or waveOut devices, and fills the supplied box. NOTE: sets high-order bit of list.tag if includeMapper = false

function index2deviceId(list: tCustomListControl): int; overload;

Returns wave deviceId which corresponds to selected itemIndex in the list.

function index2deviceId(index: int; includesMapper: bool): int; overload;
 
function deviceId2index(deviceId: int; includeMapper: bool = true): int;

Returns itemIndex which corresponds to specified deviceId

Types

proc_waveDeviceEnumCallback = procedure(obj: pointer; caps: pointer; isInput: bool; var name: wString; deviceId: unsigned; var okToAdd: bool); stdcall;
 

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09