Platform SDK: DirectX |
The DSCURSORS type is used by the DirectSoundBuffer.GetCurrentPosition and DirectSoundCaptureBuffer.GetCurrentPosition methods.
Type DSCURSORS lPlay As Long lWrite As Long End Type
Values are offsets from the start of the buffer, in bytes.
The cursor represented by lPlay is slightly ahead of the cursor represented by lWrite. The part of the buffer between the two is not ready for reading or writing. Applications can safely read data from a capture buffer or write data to a secondary buffer up to lWrite.