This is a method of the IDirectSoundBuffer Interface.
public void getFormat(byte[] format, int size);