[PATCH v2 1/1] dsound: Set position past the end of the buffer is invalid.