Description | Hierarchy | Fields | Methods | Properties |
type unaDSPDLibWavePipe = class(unavclInOutWavePipe)
Abstract wave DSP DLib pipe.
constructor Create(owner: tComponent); override; |
|
function applyDeviceFormat(format: PWAVEFORMATEXTENSIBLE; isSrc: bool = true): bool; override; |
|
function convertOutFloat2PCM(out buf: pointer): int; virtual; |
|
function doOpen(): bool; override; |
|
function doRead(data: pointer; len: uint): uint; override; |
|
function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override; |
|
function isActive(): bool; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure doClose(); override; |
property automation: unaDSPLibAutomat read f_automation; |
|
property enableDataProcessing; |
|
property isFormatProvider default true; |
|
property processDataInPlace: boolean read f_processDataInPlace write f_processDataInPlace default true; |
constructor Create(owner: tComponent); override; |
|
function applyDeviceFormat(format: PWAVEFORMATEXTENSIBLE; isSrc: bool = true): bool; override; |
|
Applies new format on DSP automation. |
function convertOutFloat2PCM(out buf: pointer): int; virtual; |
|
Converts DSP DLib output float buffer(s) to PCM plain buffer, and returns its size in bytes. |
function doOpen(): bool; override; |
|
"Activates" the component. |
function doRead(data: pointer; len: uint): uint; override; |
|
Reads last data processed by DSP automation. Not yet implemented. |
function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override; |
|
Processes new chunk with DSP automation. |
function isActive(): bool; override; |
|
Returns true if component was activated. |
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure doClose(); override; |
|
"Deactivates" the component. |
property automation: unaDSPLibAutomat read f_automation; |
|
DSPDLib automation. |
property enableDataProcessing; |
|
Specifies whether the component would perform any data processing. |
property isFormatProvider default true; |
|
DSP components are usually a format providers – so this property value was changed to be true by default. |
property processDataInPlace: boolean read f_processDataInPlace write f_processDataInPlace default true; |
|
Specifies whether data should be processed by conponent "in place", changing the values in provider's buffer. When set to false data will be processed using local buffer (a bit slowly, but does not touch provider's data). Must be set to false if provider has more than one consumer. |
(c) 2012 Lake of Soft