TDirectSoundBuffer
property WritePosition: Longint;
Retrieves the current position of the write cursor in the sound buffer. See also IDirectSoundBuffer::GetCurrentPosition.