CONST_DSBLOCKFLAGS
Members of the CONST_DSBLOCKFLAGS enumeration are used in the flags parameter of the DirectSoundBuffer.ReadBuffer and DirectSoundBuffer.WriteBuffer methods to specify what portion of the buffer is to be read or written to.
Enum CONST_DSBLOCKFLAGS
DSBLOCK_DEFAULT = 0
DSBLOCK_ENTIREBUFFER = 2
DSBLOCK_FROMWRITECURSOR = 1
End Enum
- DSBLOCK_DEFAULT
- Read or write from the position specified in the start parameter.
- DSBLOCK_FROMWRITECURSOR
- Write to the current write position, or read from the current read position, making a call to DirectSoundBuffer.GetCurrentPosition method unnecessary. The start parameter is ignored.
- DSBLOCK_ENTIREBUFFER
- Reads from or writes to the entire buffer. The size parameter is ignored.