DSBLOCK_FROMWRITECURSOR

const directsound.DSBLOCK_FROMWRITECURSOR;

Locks from the current write cursor, making a call to DirectSoundBuffer.getCurrentPosition unnecessary. If this flag is specified, the start parameter is ignored. This flag is optional.