This is a method of the IDirectSound Interface.
public DirectSoundBuffer createSoundBuffer(DSBufferDesc bufferDesc, byte[] format);