This is a method of the IDirectSoundResource Interface.
public void readBuffer(int sourceIndex, int destIndex, int size, DSResourceDesc resourceDesc, byte[] buffer, int maxbuf);