Al_getbuffersize – Measurement Computing ADLIB WIN User Manual

Page 137

Advertising
background image

Chapter 40 Buffer Handler Functions

27-17

27.16 AL_GetBufferSize

Prototype

C\C++

STATUS

AL_GetBufferSize(LHLD

lhld);


Visual Basic for Windows

Function

AL_GetBufferSize(ByVal

lhld As Long) As Long

LHLD lhld

handle of the LDSD


The AL_GetBufferSize function retrieves the current of buffer size in the LDSD.

Parameter Description

lhld

Identifies the instance of the logical device subsystem.


Returns:
On success STATUS contains the size of buffer(s) in samples currently set in the LDSD for the specified
device, otherwise STATUS contains a negative error code that occurred during the call.

Related Functions:
AL_SetBufferSize

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1

Advertising