CONST_DSBLOCKFLAGS
The CONST_DSBLOCKFLAGS enumeration is used in the flags parameter of the DirectSoundBuffer.ReadBuffer method to modify what is read or written from the sound buffer.
Enum CONST_DSBLOCKFLAGS
DSBLOCK_DEFAULT = 0
DSBLOCK_ENTIREBUFFER = 2
DSBLOCK_FROMWRITECURSOR = 1
End Enum
- DSBLOCK_DEFAULT
- Reads or writes from the position specified in the start parameter.
- DSBLOCK_FROMWRITECURSOR
- Reads or writes from the current read/write position, making a call to DirectSoundBuffer.GetCurrentPosition method unnecessary. If this flag is specified, the start parameter is ignored.
- DSBLOCK_ENTIREBUFFER
- Reads from or writes to the entire buffer. The size parameter is ignored.