Description | Hierarchy | Fields | Methods | Properties |
type unaWaveSoftwareDevice = class(unaWaveDevice)
This is base class for software devices, such as wave mixer.
constructor create(realTime: bool = false; isIn: bool = true; overNum: unsigned = 0); |
|
function addHeader(header: unaWaveHeader): MMRESULT; override; |
|
function afterOpen(): MMRESULT; override; |
|
function getMasterIsSrc2(): bool; override; |
|
function onHeaderDone(header: unaWaveHeader; wakeUpByHeaderDone: bool): bool; override; |
|
function open2(query: bool = false; timeout: tTimeout = 10005; flags: uint = 0; startDevice: bool = true): MMRESULT; override; |
|
function prepareHeader(header: pointer): MMRESULT; override; |
|
function setFormat(isSrc: bool; format: pWAVEFORMATEX): bool; override; |
|
function unprepareHeader(header: pointer): MMRESULT; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure afterClose(closeResult: MMRESULT); override; |
|
procedure onTick(sender: tObject); virtual; |
|
procedure setRealTime(value: bool); override; |
property realTimer: unaAbstractTimer read f_realTimer; |
constructor create(realTime: bool = false; isIn: bool = true; overNum: unsigned = 0); |
|
function addHeader(header: unaWaveHeader): MMRESULT; override; |
|
function afterOpen(): MMRESULT; override; |
|
function getMasterIsSrc2(): bool; override; |
|
Returns true. |
function onHeaderDone(header: unaWaveHeader; wakeUpByHeaderDone: bool): bool; override; |
|
function open2(query: bool = false; timeout: tTimeout = 10005; flags: uint = 0; startDevice: bool = true): MMRESULT; override; |
|
function prepareHeader(header: pointer): MMRESULT; override; |
|
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. |
function unprepareHeader(header: pointer): MMRESULT; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure afterClose(closeResult: MMRESULT); override; |
|
procedure onTick(sender: tObject); virtual; |
|
procedure setRealTime(value: bool); override; |
|
property realTimer: unaAbstractTimer read f_realTimer; |
|
(c) 2012 Lake of Soft