
Chapter 40 Buffer Handler Functions
27-4
27.4 AL_CopyBuffer
Prototype C\C++
(16 Bit) ERRNUM AL_CopyBuffer(LHLD lhld, long lBuffNum,
int _far *fpDataBuff, long lStartPoint, long lCount );
(32 Bit) ERRNUM AL_CopyBuffer(LHLD lhld, long lBuffNum,
int.*fpDataBuff, long lStartPoint, long lCount );
Visual Basic for Windows
Function AL_ CopyBuffer(ByVal lhld As Long, ByVal lBuffNum As Long,
fpDataBuff as Integer, ByVal lStartPoint As Long,
ByVal lCount As Long) As Long
LHLD lhld handle of the LDSD
long lBuffNum specifies the buffer number
int _far * fpDataBuff destination address of the data buffer
long lStartPoint starting point in the source buffer to be copied
long lCount number of samples
The AL_ GetCopyBuffer function copies an LDSD source buffer specified by lBuffNum to the user
fpDataBuff destination buffer.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lBuffNum Specifies the ID number of the LDSD buffer to be copied.
fpDataBuff Specifies the user buffer destination address.
lStartPoint Starting sample point in the LDSD source buffer to be copied.
lCount Number of LDSD data buffer samples to copy.
Returns:
On success fpDataBuff is set with the specified LDSD buffer’s data, otherwise ERRNUM contains the last
error code that occurred during the call.
Related Functions:
AL_ClearBufferDoneFlag
AL_GetBufferStatus
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1
Commenti su questo manuale