Home Units Hierarchy Routines All identifiers

Class unaWaveSoftwareDevice

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaWaveSoftwareDevice = class(unaWaveDevice)

Description

This is base class for software devices, such as wave mixer.

Hierarchy

Overview

Methods

Public constructor create(realTime: bool = false; isIn: bool = true; overNum: unsigned = 0);
Protected function addHeader(header: unaWaveHeader): MMRESULT; override;
Protected function afterOpen(): MMRESULT; override;
Protected function getMasterIsSrc2(): bool; override;
Protected function onHeaderDone(header: unaWaveHeader; wakeUpByHeaderDone: bool): bool; override;
Protected function open2(query: bool = false; timeout: tTimeout = 10005; flags: uint = 0; startDevice: bool = true): MMRESULT; override;
Protected function prepareHeader(header: pointer): MMRESULT; override;
Protected function setFormat(isSrc: bool; format: pWAVEFORMATEX): bool; override;
Protected function unprepareHeader(header: pointer): MMRESULT; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure afterClose(closeResult: MMRESULT); override;
Protected procedure onTick(sender: tObject); virtual;
Protected procedure setRealTime(value: bool); override;

Properties

Public property realTimer: unaAbstractTimer read f_realTimer;

Description

Methods

Public constructor create(realTime: bool = false; isIn: bool = true; overNum: unsigned = 0);
 
Protected function addHeader(header: unaWaveHeader): MMRESULT; override;
 
Protected function afterOpen(): MMRESULT; override;
 
Protected function getMasterIsSrc2(): bool; override;

Returns true.

Protected function onHeaderDone(header: unaWaveHeader; wakeUpByHeaderDone: bool): bool; override;
 
Protected function open2(query: bool = false; timeout: tTimeout = 10005; flags: uint = 0; startDevice: bool = true): MMRESULT; override;
 
Protected function prepareHeader(header: pointer): MMRESULT; override;
 
Protected function setFormat(isSrc: bool; format: pWAVEFORMATEX): bool; override;

WARNING! this call will change the realtime clock interval. so, be careful when setting the format of realtime devices with non-default timer interval.

Protected function unprepareHeader(header: pointer): MMRESULT; override;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure afterClose(closeResult: MMRESULT); override;
 
Protected procedure onTick(sender: tObject); virtual;
 
Protected procedure setRealTime(value: bool); override;
 

Properties

Public property realTimer: unaAbstractTimer read f_realTimer;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09